Files

13 lines
288 B
Go
Raw Permalink Normal View History

package models
import "time"
// User represents a registered user.
type User struct {
ID int64 `json:"id"`
Email string `json:"email"`
PasswordHash string `json:"-"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}