chore: change size of file to int64

This commit is contained in:
Noah Hsu
2022-06-23 15:57:36 +08:00
parent c3040fdfc3
commit fd5c3e831d
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ import "time"
type Object struct {
ID string
Name string
Size uint64
Size int64
Modified time.Time
IsFolder bool
}
@ -14,7 +14,7 @@ func (f Object) GetName() string {
return f.Name
}
func (f Object) GetSize() uint64 {
func (f Object) GetSize() int64 {
return f.Size
}