Files
elevator-server/config/config.go
2024-12-23 18:34:46 +08:00

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"`
}