12 lines
481 B
Go
12 lines
481 B
Go
package config
|
|
|
|
type Config struct {
|
|
JWT JWT `mapstructure:"jwt" json:"jwt" yaml:"jwt"`
|
|
System System `mapstructure:"system" json:"system" yaml:"system"`
|
|
Mysql Mysql `mapstructure:"mysql" json:"mysql" yaml:"mysql"`
|
|
Pgsql Pgsql `mapstructure:"pgsql" json:"pgsql" yaml:"pgsql"`
|
|
Sqlite Sqlite `mapstructure:"sqlite" json:"sqlite" yaml:"sqlite"`
|
|
Redis Redis `mapstructure:"redis" json:"redis" yaml:"redis"`
|
|
Zap Zap `mapstructure:"zap" json:"zap" yaml:"zap"`
|
|
}
|