!51 增加了开始的提示

Merge pull request !51 from K-on/fix-conf-test
This commit is contained in:
bandl 2021-10-06 11:09:51 +00:00 committed by Gitee
commit c36659da26
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ import (
func TestConf(t *testing.T) {
// 外部导入 conf.yaml 需要导入 conf 包
// 每次迁移文件时, 使用 sudo make init-conf来将yam文件迁移到指定的文件夹下
// get 使用, 读取 public_conf 配置文件
h := viper.Get("storage.host")
require.Equal(t, h, "127.0.0.1")