Initial commit
This commit is contained in:
9
models/user.go
Normal file
9
models/user.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package models
|
||||
|
||||
type User struct {
|
||||
Id string `gorm:"primaryKey" json:"id"`
|
||||
Firstname string `json:"firstname"`
|
||||
Lastname string `json:"lastname"`
|
||||
Email string `json:"email"`
|
||||
Username string `json:"username"`
|
||||
}
|
||||
Reference in New Issue
Block a user