1 Star 0 Fork 15

skymysky / gosql

forked from fifsky / gosql 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.go 381 Bytes
一键复制 编辑 原始数据 按行查看 历史
fifsky 提交于 2018-07-10 15:31 . add command
package gosql
//Config is database connection configuration
type Config struct {
Enable bool `json:"enable"`
Driver string `json:"driver"`
Dsn string `json:"dsn"`
MaxOpenConns int `toml:"max_open_conns" json:"max_open_conns"`
MaxIdleConns int `toml:"max_idle_conns" json:"max_idle_conns"`
ShowSql bool `toml:"show_sql" json:"show_sql"`
}
Go
1
https://gitee.com/skymysky/gosql.git
git@gitee.com:skymysky/gosql.git
skymysky
gosql
gosql
master

搜索帮助