diff --git a/conf/config.go b/conf/config.go index 4a0a71d..6f758d2 100644 --- a/conf/config.go +++ b/conf/config.go @@ -70,9 +70,9 @@ func SetUp() { func SetUp1() { // 设置配置文件的名称(不包括扩展名) - viper.SetConfigName("config") + viper.SetConfigName("config.yml") // 设置配置文件所在的目录 - viper.AddConfigPath(".") + viper.AddConfigPath("./conf") // 设置配置文件的类型为YAML viper.SetConfigType("yaml") diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..3ae67d7 Binary files /dev/null and b/favicon.ico differ