Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GOPATH路径的问题 #96

Open
47968546 opened this issue Jan 19, 2024 · 2 comments
Open

GOPATH路径的问题 #96

47968546 opened this issue Jan 19, 2024 · 2 comments

Comments

@47968546
Copy link

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

@47968546
Copy link
Author

错误信息:
$ 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
Copy link

KreanXie commented Feb 1, 2024

same question

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants