Draft: feat login

This commit is contained in:
2025-09-05 03:59:25 +08:00
parent 6d7074198f
commit 3a8e265ce3
28 changed files with 1131 additions and 86 deletions

10
models/user.go Normal file
View File

@@ -0,0 +1,10 @@
package models
import "github.com/uptrace/bun"
type User struct {
bun.BaseModel `bun:"table:user" json:"-"`
Username string `bun:"username,pk"`
Password string `bun:"password"`
}