diff --git a/app/user/conf/conf.go b/app/user/conf/conf.go index 049e791..95a5676 100644 --- a/app/user/conf/conf.go +++ b/app/user/conf/conf.go @@ -2,6 +2,7 @@ package conf import ( _ "embed" + "fmt" "github.com/spf13/viper" "os" "sync" @@ -83,6 +84,8 @@ func initConf() { if err != nil { return } + fmt.Println(conf.Registry.RegistryAddress[0]) + fmt.Println(viper.GetString("MYSQL_DSN")) conf.MySQL.DSN = viper.GetString("MYSQL_DSN")