mysql

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConnection

func GetConnection(host string, port int, database string, username string, password string, maxIdleConnection int, maxOpenConnection int) *gorm.DB

GetConnection gets a MySQL connection

func Init

func Init(host string, port int, database string, username string, password string, maxIdleConnection int, maxOpenConnection int)

Init initialize mysql connection

Types

This section is empty.

Jump to

Keyboard shortcuts

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