Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type Credentials struct { Email string `json:"username" db:"email"` //todo: create this table in the database Password string `json:"password" db:"password"` }
Credentials is 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.