package model import ( "database/sql" "time" "github.com/lib/pq" ) type User struct { UserId string `db:"user_id"` Username string `db:"username"` Email sql.NullString `db:"email"` PasswordHash string `db:"password_hash"` Roles pq.StringArray `db:"roles"` CreatedAt time.Time `db:"created_at"` }