Uses uuid to avoid easy inferral of user ids
This commit is contained in:
parent
800c839b53
commit
932edb8da7
5 changed files with 23 additions and 12 deletions
|
|
@ -1,7 +1,7 @@
|
|||
package model
|
||||
|
||||
type User struct {
|
||||
ID uint32
|
||||
ID string `json: id`
|
||||
FirstName string `json: "firstName"`
|
||||
Email string `json: "email"`
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue