修改生成器的默认版本

This commit is contained in:
fancl 2024-12-13 16:28:59 +08:00
parent e7fc3614a8
commit 7d1ecab9fb
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ import (
var ( var (
packageNameFlag = flag.String("package-name", "", "应用程序包名称") 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 ( var (