package
1.2.2
Repository: https://github.com/cnzf1/gocore.git
Documentation: pkg.go.dev

# Functions

BuildDataSourceName return dsn to username:password@tcp(ip:port)/database?charset=utf8mb4.
NewMySQLInstance create a db connection.
WithConnMaxLifetime sets the maximum amount of time a connection may be reused.
WithMaxIdleConns sets the maximum number of connections in the idle connection pool.
WithMaxOpenConns sets the maximum number of open connections to the database.

# Type aliases

No description provided by the author