Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 336a254a11 |
@@ -8,7 +8,7 @@ type User struct {
|
|||||||
Username string `db:"username" json:"username"`
|
Username string `db:"username" json:"username"`
|
||||||
Password string `db:"password" json:"password"`
|
Password string `db:"password" json:"password"`
|
||||||
CreatedAt time.Time `db:"created_at" json:"created_at"`
|
CreatedAt time.Time `db:"created_at" json:"created_at"`
|
||||||
UpdatedAt time.Time `db:"updated_at,omitempty" json:"updated_at,omitempty"` // FIXME: zero-value issue
|
UpdatedAt time.Time `db:"udpated_at,omitempty" json:"updated_at,omitempty"` // FIXME: zero-value issue
|
||||||
}
|
}
|
||||||
|
|
||||||
// var TestUser = &User{
|
// var TestUser = &User{
|
||||||
|
|||||||
Reference in New Issue
Block a user