package models // User account for the site. type User struct { ID int `json:"id"` Username string `json:"username" gorm:"unique"` Password string `json:"-"` IsAdmin bool `json:"isAdmin"` Name string `json:"name"` Email string `json:"email"` }