mysql

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMySQLDB

func GetMySQLDB() (*sql.DB, error)

GetMySQLDB - get connection db mysql

func GetMySQLORM

func GetMySQLORM() (*gorm.DB, error)

GetMySQLORM - get connection ORM db mysql

func InitConnMySQLDB

func InitConnMySQLDB(dbHost, dbPort, dbUser, dbPass, dbName string, maxIdle, maxConn int)

InitConnMySQLDB - preparation connection database mysql

func InitConnMySQLORM

func InitConnMySQLORM(dbHost, dbPort, dbUser, dbPass, dbName string, maxIdle, maxConn int)

InitConnMySQLORM - preparation connection database mysql ORM

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL