config/config.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
service/server.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
config/config.go
@@ -27,9 +27,9 @@ func Init() { var err error viper.SetConfigType("yaml") viper.SetConfigName("esSync") viper.AddConfigPath("../config") viper.SetConfigName("esSyncClient") viper.AddConfigPath("config") viper.AddConfigPath("../config") viper.AddConfigPath("") err = viper.ReadInConfig() if err != nil { service/server.go
@@ -13,7 +13,6 @@ "io/ioutil" "net/http" "regexp" "strings" ) func ConnectControl() bool {