Revert "chore(user): 打印配置信息"
This reverts commit b51ab4680f6c553a1925a135adca1ba3fb696f5b.
This commit is contained in:
parent
2c85024a08
commit
b6cb6875ae
@ -2,7 +2,6 @@ package conf
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
_ "embed"
|
_ "embed"
|
||||||
"fmt"
|
|
||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
"os"
|
"os"
|
||||||
"sync"
|
"sync"
|
||||||
@ -84,8 +83,6 @@ func initConf() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
fmt.Println(conf.Registry.RegistryAddress[0])
|
|
||||||
fmt.Println(viper.GetString("MYSQL_DSN"))
|
|
||||||
|
|
||||||
conf.MySQL.DSN = viper.GetString("MYSQL_DSN")
|
conf.MySQL.DSN = viper.GetString("MYSQL_DSN")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user