fix(db): add yaml tags
This commit is contained in:
parent
094161e2da
commit
9172336d35
1 changed files with 5 additions and 5 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue