From f3a507fd253c75a4bf39e712dc3a72a0d1ca11c2 Mon Sep 17 00:00:00 2001 From: ns-cn Date: Sat, 13 May 2023 12:19:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- istep.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/istep.go b/istep.go index a84fb72..ca1a9a7 100644 --- a/istep.go +++ b/istep.go @@ -17,7 +17,7 @@ var configuration = new(Configuration) var wg = sync.WaitGroup{} func main() { - root := goter.NewRootCmdWithAction("istep", "基于zeep life修改步数的程序", "1.0", func(command *cobra.Command, strings []string) { + root := goter.NewRootCmdWithAction("istep", "基于zeep life修改步数的程序", env.VERSION, func(command *cobra.Command, strings []string) { fmt.Printf("【istep】%v读取配置文件%s\n", time.Now(), env.CfgFile.Value) // 读取配置文件 data, err := os.ReadFile(env.CfgFile.Value)