Adds User struct
This commit is contained in:
parent
98edc52114
commit
800c839b53
1 changed files with 7 additions and 0 deletions
7
internal/model/user.go
Normal file
7
internal/model/user.go
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
package model
|
||||||
|
|
||||||
|
type User struct {
|
||||||
|
ID uint32
|
||||||
|
FirstName string `json: "firstName"`
|
||||||
|
Email string `json: "email"`
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue