From e1498dc34873ab5ee9f887cf7245336862a6cf44 Mon Sep 17 00:00:00 2001 From: walker Date: Fri, 15 Dec 2023 17:54:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=97=A0=E7=94=A8=E6=89=93?= =?UTF-8?q?=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.go | 2 -- 1 file changed, 2 deletions(-) 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))