package conf type LogConfig struct { Level string `mapstructure:"Level"` AccessPath string `mapstructure:"AccessPath"` ErrorPath string `mapstructure:"ErrorPath"` } func NewLogConfig() *LogConfig { return &LogConfig{ Level: "none", AccessPath: "", ErrorPath: "", } }