package model
import "time"
type File struct {
Name string
Size uint64
Modified time.Time
IsFolder bool
}
func (f File) GetName() string {
return f.Name
func (f File) GetSize() uint64 {
return f.Size
func (f File) ModTime() time.Time {
return f.Modified
func (f File) IsDir() bool {
return f.IsFolder
type FileWithId struct {
Id string
File