diff --git a/generator/main.go b/generator/main.go index 7a2df6a..c198192 100644 --- a/generator/main.go +++ b/generator/main.go @@ -20,7 +20,7 @@ import ( var ( packageNameFlag = flag.String("package-name", "", "应用程序包名称") - versionFlag = flag.String("version", env.Get("MOTO_VERSION", "v0.0.1"), "模板版本号,可以使用环境变量 MOTO_VERSION") + versionFlag = flag.String("version", env.Get("MOTO_VERSION", "v0.0.3"), "模板版本号,可以使用环境变量 MOTO_VERSION") ) var (