User model/migrations and gorm init

This commit is contained in:
HFO4
2019-11-07 15:56:05 +08:00
parent ece1bca11a
commit aca8bde521
10 changed files with 246 additions and 22 deletions

7
pkg/serializer/user.go Normal file
View File

@@ -0,0 +1,7 @@
package serializer
// UserOption 用户个性化配置字段
type UserOption struct {
ProfileOn int `json:"profile_on"`
WebDAVKey string `json:"webdav_key"`
}