refactor(conf): 移除冗余的 mapstructure 结构体标签
This commit is contained in:
1 parent
7f68cecf21
commit
ddf28f59cf
6 files changed
+37
-32
No files matched your search
@@ -1,9 +1,9 @@
|
||||
package conf
|
||||
|
||||
type JwtConfig struct {
|
||||
AccessExpire int `mapstructure:"access_expire" yaml:"access_expire"`
|
||||
RefreshExpire int `mapstructure:"refresh_expire" yaml:"refresh_expire"`
|
||||
AccessSecret string `mapstructure:"access_secret" yaml:"access_secret"`
|
||||
RefreshSecret string `mapstructure:"refresh_secret" yaml:"refresh_secret"`
|
||||
Issuer string `mapstructure:"issuer" yaml:"issuer"`
|
||||
AccessExpire int `yaml:"access_expire"`
|
||||
RefreshExpire int `yaml:"refresh_expire"`
|
||||
AccessSecret string `yaml:"access_secret"`
|
||||
RefreshSecret string `yaml:"refresh_secret"`
|
||||
Issuer string `yaml:"issuer"`
|
||||
}
|
||||
Reference in new issue
Block a user