package config import ( "bp.jydev.jianyu360.cn/SocialPlatform/knowledgeBase/entity" "github.com/zeromicro/go-zero/zrpc" ) type Config struct { zrpc.RpcServerConf WebRpcPort int64 MysqlMain entity.MysqlMainStruct Es entity.EsStruct Segment string TestConf zrpc.RpcClientConf UserCenterConf zrpc.RpcClientConf FindCount int RecommendQuestionCount int Esv7 struct { Address string `yaml:"addr"` Size int `yaml:"size"` Username string `yaml:"username"` Password string `yaml:"password"` Index string `yaml:"index"` Type string `yaml:"type"` } MinScore float64 }