Stack of changes to get gin, scs, nosurf running.
This commit is contained in:
@@ -5,10 +5,13 @@ import (
|
||||
)
|
||||
|
||||
type User struct {
|
||||
Id int
|
||||
Id int64
|
||||
Username string
|
||||
Email string
|
||||
PasswordHash string
|
||||
IsAdmin bool
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
// ToDo: should be in a notification model?
|
||||
|
||||
Reference in New Issue
Block a user