英文:
Golang : After installed revel command tool, not working properly
问题
以下是要翻译的内容:
我按照revel框架的文档进行了安装,安装成功。但是在Git Bash和命令提示符中尝试使用revel命令时,它不起作用。
请问有人能给出一些建议吗?
英文:
Here I followed revel FW document and installed successfully. But try to use revel command in both Git bash and cmd, it is not working
Please anyone give some suggestion for that...
答案1
得分: 1
- 运行:go get github.com/revel/revel
- 运行:go get github.com/revel/cmd/revel
- 现在应该可以从任何位置使用revel了。如果不能,请确保你设置了$GOPATH/bin。
附注:
如果在安装github.com/revel/cmd/revel时遇到问题,请尝试完全删除github.com/revel,并重新安装这两个包。
英文:
- Run: go get github.com/revel/revel
- Run: go get github.com/revel/cmd/revel
- Now revel should be available from any place. If not, make sure you have $GOPATH/bin set.
P.S.
If have problems installing github.com/revel/cmd/revel, try removing completely github.com/revel, and re-installing both packages.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论