Implement #4442 , goctl generate unit test files for api handler and logic (#4443)

This commit is contained in:
Devin
2025-01-22 14:52:49 +08:00
committed by GitHub
parent bf883101d7
commit 6138f85470
10 changed files with 338 additions and 6 deletions

View File

@@ -72,6 +72,7 @@ func init() {
goCmdFlags.StringVar(&gogen.VarStringHome, "home")
goCmdFlags.StringVar(&gogen.VarStringRemote, "remote")
goCmdFlags.StringVar(&gogen.VarStringBranch, "branch")
goCmdFlags.BoolVar(&gogen.VarBoolWithTest, "test")
goCmdFlags.StringVarWithDefaultValue(&gogen.VarStringStyle, "style", config.DefaultFormat)
javaCmdFlags.StringVar(&javagen.VarStringDir, "dir")