diff --git a/main_program/go.mod b/main_program/go.mod index 1d8905f..87e6fa3 100644 --- a/main_program/go.mod +++ b/main_program/go.mod @@ -1,6 +1,6 @@ module main_program -go 1.22.2 +go 1.21.13 require ( github.com/sirupsen/logrus v1.9.3 diff --git a/main_program/main.go b/main_program/main.go index 86bd23f..46bc072 100644 --- a/main_program/main.go +++ b/main_program/main.go @@ -28,7 +28,6 @@ func init() { func main() { flag.Parse() //读取配置文件 - print(common.ConfigFile) data, _ := ioutil.ReadFile(common.ConfigFile) err := yaml.Unmarshal(data, &common.MyEnv) if err != nil {