package
Version:
v1.1.5
Opens a new window with list of versions in this module.
Published: Nov 19, 2020
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
func GetMySQLDB() (*sql.DB, error)
-
func GetMySQLORM() (*gorm.DB, error)
-
func InitConnMySQLDB(dbHost, dbPort, dbUser, dbPass, dbName string, maxIdle, maxConn int)
-
func InitConnMySQLORM(dbHost, dbPort, dbUser, dbPass, dbName string, maxIdle, maxConn int)
GetMySQLDB - get connection db mysql
GetMySQLORM - get connection ORM db mysql
func InitConnMySQLDB(dbHost, dbPort, dbUser, dbPass, dbName string, maxIdle, maxConn int)
InitConnMySQLDB - preparation connection database mysql
func InitConnMySQLORM(dbHost, dbPort, dbUser, dbPass, dbName string, maxIdle, maxConn int)
InitConnMySQLORM - preparation connection database mysql ORM
Source Files
¶
Click to show internal directories.
Click to hide internal directories.