Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Credentials ¶
type Credentials struct { Password string `json:"password" db:"password"` Username string `json:"username" db:"username"` }
Create a struct that models the structure of a user, both in the request body, and in the DB
Click to show internal directories.
Click to hide internal directories.