refactor(conf): 移除冗余的 mapstructure 结构体标签
This commit is contained in:
1 parent
7f68cecf21
commit
ddf28f59cf
6 files changed
+37
-32
No files matched your search
@@ -1,7 +1,7 @@
|
||||
package conf
|
||||
|
||||
type RedisConfig struct {
|
||||
Addr string `mapstructure:"addr" yaml:"addr"`
|
||||
Password string `mapstructure:"password" yaml:"password"`
|
||||
Db int `mapstructure:"db" yaml:"db"`
|
||||
Addr string `yaml:"addr"`
|
||||
Password string `yaml:"password"`
|
||||
Db int `yaml:"db"`
|
||||
}
|
||||
Reference in new issue
Block a user