Documentation ¶
Index ¶
- func AuthenticateUser(dbs *sql.DB, username, password string) (bool, error)
- func CloseDB(dbs *sql.DB)
- func ConnectToDB(dbName string) (*sql.DB, error)
- func CreateMigrationsTable(dbs *sql.DB)
- func CreateUser(dbs *sql.DB, users Users) (user Users, userInfo UserInfo, err error)
- func GetUser(dbs *sql.DB) (user Users, userInfo UserInfo, err error)
- func GetUserFromUsername(dbs *sql.DB, username string) (user Users, userInfo UserInfo, err error)
- type UserInfo
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMigrationsTable ¶
func CreateUser ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.