type Config struct {
Main Main `yaml:"main"`
Http Http `yaml:"http"`
Redis Redis `yaml:"redis"`
MySQL MySQL `yaml:"mysql"`
MongoDB MongoDB `yaml:"mongodb"`
}
type MySQL struct {
// URI 连接地址; example: root:root@tcp([ip]:[port])/?charset=utf8&parseTime=true&loc=Local URI string `yaml:"uri"`
// MainDB 主数据库名 MainDB string `yaml:"main_db"`
}