Initial commit
This commit is contained in:
3
go.mod
Normal file
3
go.mod
Normal file
@@ -0,0 +1,3 @@
|
||||
module git.bhouse.cdsau.net/frederick.holland/bh_go_models
|
||||
|
||||
go 1.22.2
|
||||
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