删除无用打印

This commit is contained in:
walker 2023-12-15 17:54:50 +08:00
parent e0085c4513
commit e1498dc348
1 changed files with 0 additions and 2 deletions

View File

@ -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))