Uses uuid to avoid easy inferral of user ids

This commit is contained in:
Dennis Schoepf 2024-04-28 20:21:56 +02:00
parent 800c839b53
commit 932edb8da7
5 changed files with 23 additions and 12 deletions

View file

@ -1,7 +1,7 @@
package model
type User struct {
ID uint32
ID string `json: id`
FirstName string `json: "firstName"`
Email string `json: "email"`
}