19 lines
418 B
Go
19 lines
418 B
Go
package auth
|
|
|
|
import "github.com/google/uuid"
|
|
|
|
type User struct {
|
|
ID uuid.UUID `json:"id"`
|
|
Email string `json:"email"`
|
|
Name string `json:"name"`
|
|
StudioName string `json:"studioName"`
|
|
Tagline string `json:"tagline"`
|
|
WebsiteURL string `json:"websiteUrl"`
|
|
InstagramURL string `json:"instagramUrl"`
|
|
}
|
|
|
|
type storedUser struct {
|
|
User
|
|
PasswordHash string
|
|
}
|