13 lines
312 B
Go
13 lines
312 B
Go
package config
|
|
|
|
const (
|
|
AppEnv = "dev"
|
|
EnvConfig = "config.yaml"
|
|
)
|
|
|
|
type Config struct {
|
|
IsDebug bool `mapstructure:"is_debug" json:"is_debug" yaml:"is_debug"`
|
|
Db DbConf `mapstructure:"db" json:"db" yaml:"db"`
|
|
Service ServiceConf `mapstructure:"service" json:"service" yaml:"service"`
|
|
}
|