This commit is contained in:
sjk
2025-11-17 14:09:17 +08:00
commit 31e46c5bf6
479 changed files with 109324 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
package model
type User struct {
ID string `json:"id"`
Username string `json:"username"`
Email string `json:"email"`
Password string `json:"password,omitempty"` // omitempty 表示在序列化为 JSON 时如果为空则忽略
Avatar string `json:"avatar,omitempty"`
}