Extended User type
This commit is contained in:
parent
dd972e9ba7
commit
fd3ccc753e
1 changed files with 5 additions and 3 deletions
2
db/db.go
2
db/db.go
|
@ -9,9 +9,11 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type User struct {
|
type User struct {
|
||||||
|
Id string
|
||||||
UserName string
|
UserName string
|
||||||
Email string
|
Email string
|
||||||
DateCreated string
|
DateCreated string
|
||||||
|
PasswordHash string
|
||||||
}
|
}
|
||||||
|
|
||||||
type DB struct {
|
type DB struct {
|
||||||
|
|
Reference in a new issue