package
0.0.0-20230630201924-bc6e940a4ace
Repository: https://github.com/raj63/golang-rest-api.git
Documentation: pkg.go.dev

# Functions

NewDB initialises the DB handle that is used to connect to a database.
NewMigrate initialises the DB migrator with open connection.
NewSeed initialises the DB seeder with open connection.

# Constants

MYSQL refers to the mysql driver.
POSTGRES refers to the postgres driver.

# Structs

Config indicates database connection configuration.
DB is a wrapper around sqlx.DB.
Migrate is the DB migrator.
Seed is the DB seeder.

# Type aliases

DriverName indicates the name of the driver.