删除无用打印
This commit is contained in:
parent
e0085c4513
commit
e1498dc348
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue