feat: extract get function

This commit is contained in:
Noah Hsu
2022-06-11 14:43:03 +08:00
parent ec89bb70c7
commit 77b0c69112
8 changed files with 66 additions and 24 deletions

View File

@ -24,3 +24,8 @@ func (f File) ModTime() time.Time {
func (f File) IsDir() bool {
return f.IsFolder
}
type FileWithId struct {
Id string
File
}