mirror of
https://github.com/zeromicro/go-zero.git
synced 2026-05-11 00:40:00 +08:00
feat: support goctl --module to set go module (#5135)
This commit is contained in:
@@ -90,6 +90,7 @@ func init() {
|
||||
newCmdFlags.StringVar(&new.VarStringHome, "home")
|
||||
newCmdFlags.StringVar(&new.VarStringRemote, "remote")
|
||||
newCmdFlags.StringVar(&new.VarStringBranch, "branch")
|
||||
newCmdFlags.StringVar(&new.VarStringModule, "module")
|
||||
newCmdFlags.StringVarWithDefaultValue(&new.VarStringStyle, "style", config.DefaultFormat)
|
||||
|
||||
pluginCmdFlags.StringVarP(&plugin.VarStringPlugin, "plugin", "p")
|
||||
|
||||
Reference in New Issue
Block a user