Revert "[feat]: config for TLS connection in init MySQL (#1388)" (#1392)

This reverts commit a4a240eace0b6e3d371b59aa505c330d475ea829.
This commit is contained in:
奇淼(piexlmax
2023-03-27 11:09:19 +08:00
committed by GitHub
parent acd8fa3810
commit 0497cf384d
3 changed files with 2 additions and 12 deletions
-1
View File
@@ -22,7 +22,6 @@ type GeneralDB struct {
MaxOpenConns int `mapstructure:"max-open-conns" json:"max-open-conns" yaml:"max-open-conns"` // 打开到数据库的最大连接数
LogMode string `mapstructure:"log-mode" json:"log-mode" yaml:"log-mode"` // 是否开启Gorm全局日志
LogZap bool `mapstructure:"log-zap" json:"log-zap" yaml:"log-zap"` // 是否通过zap写入日志文件
InitTls bool `mapstructure:"init-tls" json:"init-tls" yaml:"init-tls"` // 初始化时是否开启TLS
}
type SpecializedDB struct {