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 {
|
||||
IsDir bool `json:"isDir"`
|
||||
Shared bool `json:"shared"`
|
||||
ShareID string `json:"shareID"` // for short url
|
||||
Sha1 string `json:"sha1"`
|
||||
Size int64 `json:"size"`
|
||||
IsDir bool `json:"isDir" yaml:"isDir"`
|
||||
Shared bool `json:"shared" yaml:"shared"`
|
||||
ShareID string `json:"shareID" yaml:"shareID"`
|
||||
Sha1 string `json:"sha1" yaml:"sha1"`
|
||||
Size int64 `json:"size" yaml:"size"`
|
||||
}
|
||||
|
||||
type UserCfg struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue