1 2 3 4 5 6 7 8 9 10
package models import "github.com/google/uuid" type User struct { ID int64 `json:"-"` Name string `json:"name"` UUID uuid.UUID `json:"uuid"` Password string `json:"-"` }