add full auth

This commit is contained in:
2026-07-06 15:56:10 +07:00
parent 434627d61a
commit 6be4142487
14 changed files with 1512 additions and 50 deletions
+3
View File
@@ -1,5 +1,7 @@
package repos
import "time"
type User struct {
ID int
Username string
@@ -7,4 +9,5 @@ type User struct {
PasswordHash string
Roles []string
IsActive bool
CreatedAt time.Time
}