package
0.0.0-20230223131515-524bf5b63144
Repository: https://github.com/nesquiko/go-auth.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
ConnectDB establishes the global connection to a database.
MySQLDSNConfig is a simple util function for creating a mysql.Config with custom connection options.
# Variables
DBConnectino is a global connection to a database, through which application logic interacts with database.
# Structs
UserDBEntity is a model for how users are represented in database.
UserModel represents a model of an user, which is used in application logic.
# Interfaces
DBConnection represents a layer between the database and the application logic.