added file management

This commit is contained in:
Marvin Zhang
2019-07-24 13:37:03 +08:00
parent 0a47f3cc0c
commit b01d265060
13 changed files with 293 additions and 64 deletions

8
backend/model/file.go Normal file
View File

@@ -0,0 +1,8 @@
package model
type File struct {
Name string `json:"name"`
Path string `json:"path"`
IsDir bool `json:"is_dir"`
Size int64 `json:"size"`
}