The highest tagged major version is
v3 .
Discover Packages
github.com/richelieu-yang/chimera/v2
src
database
mysqlKit
package
Version:
v2.1.10
Opens a new window with list of versions in this module.
Published: Jun 14, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
NewLogger
gorm Logger
https://mp.weixin.qq.com/s/R4Q_nChfGBKpMk5WmTg9oQ
gorm 接管日志,使用自义定的输出方式
https://www.likecs.com/show-307107493.html
GromV1 SQL输出到日志文件
https://www.cnblogs.com/guanchaoguo/p/16448416.html
type DsnConfig struct {
UserName string `json:"userName"`
Password string `json:"password"`
Host string `json:"host"`
DBName string `json:"dbName"`
}
type PoolConfig struct {
MaxIdleConns int `json:"maxIdleConns"`
MaxOpenConns int `json:"maxOpenConns"`
ConnMaxLifetime time .Duration `json:"connMaxLifetime"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.