执行命令cmd,及log ` G:\go\src\kispr\greet 的目录
2020/10/25 16:13
G:\go\src\kispr\greet>dir 驱动器 G 中的卷是 新加卷 卷的序列号是 AA02-EC66
G:\go\src\kispr\greet 的目录
2020/10/25 16:13
G:\go\src\kispr\greet>G:\go\bin\goctl api new greet [32mDone.[0m
G:\go\src\kispr\greet>G:\go\bin\goctl api go -api greet.api -dir . error: near line: 15, wrong line "get /greet/from/:name(Request) returns ( );", "route syntax: [get/post/delete] /path(request) returns[(response)]"
G:\go\src\kispr\greet>G:\go\bin\goctl -api greet.api -dir . Incorrect Usage. flag provided but not defined: -api
NAME: goctl - a cli tool to generate code
USAGE: goctl [global options] command [command options] [arguments...]
VERSION: 20201021 windows/amd64
COMMANDS: api generate api related files docker generate Dockerfile and Makefile rpc generate rpc code model generate model code config generate config json template template operation help, h Shows a list of commands or help for one command
GLOBAL OPTIONS: --help, -h show help --version, -v print the version error: flag provided but not defined: -api
G:\go\src\kispr\greet>G:\go\bin\goctl api go -api greet.api error: missing -dir
G:\go\src\kispr\greet>G:\go\bin\goctl api go -api greet.api -dir . error: near line: 15, wrong line "get /greet/from/:name(Request) returns ( );", "route syntax: [get/post/delete] /path(request) returns[(response)]"
G:\go\src\kispr\greet>G:\go\bin\goctl -api greet.api -dir . Incorrect Usage. flag provided but not defined: -api
NAME: goctl - a cli tool to generate code
USAGE: goctl [global options] command [command options] [arguments...]
VERSION: 20201021 windows/amd64
COMMANDS: api generate api related files docker generate Dockerfile and Makefile rpc generate rpc code model generate model code config generate config json template template operation help, h Shows a list of commands or help for one command
GLOBAL OPTIONS: --help, -h show help --version, -v print the version error: flag provided but not defined: -api
G:\go\src\kispr\greet>G:\go\bin\goctl api go -dir . error: missing -api
G:\go\src\kispr\greet>G:\go\bin\goctl api new greet G:\go\src\kispr\greet\greet/etc/greet-api.yaml exists, ignored generation G:\go\src\kispr\greet\greet/internal/config/config.go exists, ignored generation
G:\go\src\kispr\greet\greet/greet.go exists, ignored generation G:\go\src\kispr\greet\greet/internal/svc/servicecontext.go exists, ignored gener ation G:\go\src\kispr\greet\greet/internal/types/types.go exists, ignored generation G:\go\src\kispr\greet\greet/internal/handler/greethandler.go exists, ignored gen eration G:\go\src\kispr\greet\greet/internal/handler/routes.go exists, ignored generatio n G:\go\src\kispr\greet\greet/internal/logic/greetlogic.go exists, ignored generat ion [32mDone.[0m
G:\go\src\kispr\greet>`