go-zero
go-zero copied to clipboard
Does goctl tpl contain RespType?
Does goctl tpl contain RespType? How do I find the variable contained in the *.tpl? Is this confidential? //virtual goctl code //normal var req types.{{.RequestType}} //The error occurs when I use the code like below: var resp types.{{.ResponseType}} I want to know where is the variable for goctl *.tpl.
goctl template init
And check the dir .goctl in your HOME directory.
goctl template init
And check the dir .goctl in your HOME directory.
Thanks a lot, I know how to use it. I mean I want to know where can I see all the goctl template variables, can I customize these variables?
Can anyone help with this issue.
Variables are all in templates.
This issue is stale because it has been open for 30 days with no activity.