Migrating from unix ts to time.Time

This commit is contained in:
Frederick F. Kautz IV
2015-01-21 17:12:47 -08:00
parent db32cb3e75
commit 8efd23b755
3 changed files with 15 additions and 16 deletions

View File

@@ -19,6 +19,7 @@ package storage
import (
"io"
"regexp"
"time"
)
type Storage interface {
@@ -35,14 +36,14 @@ type Storage interface {
type BucketMetadata struct {
Name string
Created int64
Created time.Time
}
type ObjectMetadata struct {
Key string
SecCreated int64
Size int
ETag string
Key string
Created time.Time
Size int
ETag string
}
func IsValidBucket(bucket string) bool {