Documentation ¶
Overview ¶
功能:gorm打开mysql数据库连接池,并且配置连接池参数 说明:
功能:gorm打开mysql数据库连接池,并且配置连接池参数 说明:
功能:mysql事务 说明:
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Mysql_transaction ¶
Mysql_transaction mysql事务
func Open_gorm_config_conn_pool ¶
func Open_gorm_config_conn_pool(source string, mysql_logger logger.Interface, option *GormOption) (*gorm.DB, func(), error)
Open_gorm_config_conn_pool 打开gorm连接池,并且配置
Types ¶
type GormOption ¶
Click to show internal directories.
Click to hide internal directories.