zeromicro / goctl-swagger

MIT License
214 stars 137 forks source link

GOPATH路径的问题 #96

Open 47968546 opened 10 months ago

47968546 commented 10 months ago

a16c54265fc89a72f81c25695d5cfdb swagger生成出现问题了,好像GOPATH中间有空格无法识别 我的GOPATH路径是这个G:\Program Files\Go

47968546 commented 10 months ago

错误信息: $ goctl api plugin -plugin goctl-swagger='swagger' -api ./test.api -dir ./ Error: 'G:\Program' is not recognized as an internal or external command, operable program or batch file. Usage: goctl api plugin [flags]

Flags: --api string The api file --dir string The target dir -h, --help help for plugin -p, --plugin string The plugin file --style string The file naming format, see [https://github.com/zeromicro/go-zero/blob/master/tools/goctl/config/readme.md]

'G:\Program' is not recognized as an internal or external command, operable program or batch file.

KreanXie commented 9 months ago

same question