diff --git a/config/config.go b/config/config.go index aa1dfca..2305905 100644 --- a/config/config.go +++ b/config/config.go @@ -4,7 +4,6 @@ import ( "flag" "fmt" "log/slog" - "os" "github.com/spf13/viper" "joylink.club/iot/service/proto" @@ -188,7 +187,6 @@ func LoadConfig() { if err != nil { panic(fmt.Errorf("读取配置文件错误: %w", err)) } - fmt.Println(os.Args) err = cnf.Unmarshal(&Config) if err != nil { panic(fmt.Errorf("解析配置文件错误: %w", err))