fix(db): add yaml tags

This commit is contained in:
hexxa 2022-03-28 15:58:03 +08:00 committed by Hexxa
parent 094161e2da
commit 9172336d35

View file

@ -88,11 +88,11 @@ var (
) )
type FileInfo struct { type FileInfo struct {
IsDir bool `json:"isDir"` IsDir bool `json:"isDir" yaml:"isDir"`
Shared bool `json:"shared"` Shared bool `json:"shared" yaml:"shared"`
ShareID string `json:"shareID"` // for short url ShareID string `json:"shareID" yaml:"shareID"`
Sha1 string `json:"sha1"` Sha1 string `json:"sha1" yaml:"sha1"`
Size int64 `json:"size"` Size int64 `json:"size" yaml:"size"`
} }
type UserCfg struct { type UserCfg struct {