Files
2024-08-26 17:20:13 +08:00

11 lines
249 B
Go

package config
type ServiceConf struct {
Http HttpConf `mapstructure:"http" json:"http" yaml:"http"`
}
type HttpConf struct {
Host string `mapstructure:"host" json:"host" yaml:"host"`
Port string `mapstructure:"port" json:"port" yaml:"port"`
}