Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Closer ¶
type Closer interface { internal.RepoCloser }
type ReadWriter ¶
type User ¶
type User struct { // Primary key. ID suid.UUID // Unique. Stored as text. Username string // Unique. Stored as case-sensitive text. Email email.Email // Required. Stored as case-sensitive text. Password password.PasswordHash // Required. Defaults to current time. CreatedAt time.Time }
Definition of our User in the DB layer
Click to show internal directories.
Click to hide internal directories.