Draft: feat login

This commit is contained in:
ytshih committed 2025-09-07 23:47:48 +08:00
1 parent 6d7074198f
commit 3a8e265ce3
28 files changed
+1131 -86

No files matched your search

+10
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"`
}