package api import ( "github.com/google/uuid" ) func newUserID() string { return "user_" + uuid.New().String() } type User struct { ID string `json:"id"` Name string `json:"name"` } type UserPayload struct { *User }