generated from VLADIMIR/template
add full auth
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user