Documentation ¶
Index ¶
Constants ¶
View Source
const ( UsersTable = "users" TodoListsTable = "todo_lists" UsersListsTable = "users_lists" TodoItemsTable = "todo_items" ListsItemsTable = "lists_items" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthRepo ¶
type AuthRepo struct {
// contains filtered or unexported fields
}
func NewAuthRepo ¶
func (*AuthRepo) CreateUser ¶
type DBTX ¶
type DBTX interface { ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error) PrepareContext(context.Context, string) (*sql.Stmt, error) QueryContext(context.Context, string, ...interface{}) (*sql.Rows, error) QueryRowContext(context.Context, string, ...interface{}) *sql.Row }
Click to show internal directories.
Click to hide internal directories.