1 Star 0 Fork 0

atcharles/grow

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
declare.go 845 Bytes
一键复制 编辑 原始数据 按行查看 历史
atcharles 提交于 2019-12-28 21:56 +08:00 . Init commit
package gxdb
type (
//Map 映射
Map map[string]interface{}
)
//Option ...配置信息
type Option struct {
Username string `yaml:"username" mapstructure:"username"`
Password string `yaml:"password" mapstructure:"password"`
DBName string `yaml:"db_name" mapstructure:"db_name"`
Link string `yaml:"link" mapstructure:"link"`
UseCache bool `yaml:"use_cache" mapstructure:"use_cache"`
ShowSQL bool `yaml:"show_sql" mapstructure:"show_sql"`
MaxIdleConnections int `yaml:"max_idle_connections" mapstructure:"max_idle_connections"`
MaxOpenConnections int `yaml:"max_open_connections" mapstructure:"max_open_connections"`
MaxConnLifetimeSeconds int `yaml:"max_conn_lifetime_seconds" mapstructure:"max_conn_lifetime_seconds"`
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/atcharles/grow.git
git@gitee.com:atcharles/grow.git
atcharles
grow
grow
e027c7928afb

搜索帮助