我的问题是,当我尝试运行时,swag init我看到以下内容
swag : The term 'swag' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ swag init
+ ~~~~
+ CategoryInfo : ObjectNotFound: (swag:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Run Code Online (Sandbox Code Playgroud)
我尝试了 stackoverflow 上的所有指南,但没有任何帮助以你能想象到的方式改变我的环境变量,没有任何帮助。
我的 GOPATH 设置为 %USERPROFILE%\go,这是我从官方网站安装 go 的文件夹。我的 Path 变量有 %USERPROFILE%\go\bin。
当我尝试go generate为 …