英文:
go get | package appengine: unrecognized import path "appengine"
问题
我有一个托管在 GitHub 上的包,它使用 appengine sdk。当我运行 go get github.com/myself/mynicepackage
时,我会收到一个错误信息:
package appengine: unrecognized import path "appengine"
问题:我该如何使用 go get 获取这个包?
英文:
I have a package hosted on github which uses appengine sdk . When I do go get github.com/myself/mynicepackage
I get an error
package appengine: unrecognized import path "appengine"
Question : How can I get this package using go get ?
答案1
得分: 3
无法通过go get
来下载它。
go get
只适用于源代码仓库,而Google App Engine SDK是通过.zip压缩文件提供的。
获取Google App Engine SDK的唯一方法是从这里下载并手动安装。
英文:
There is no way to download it via go get
.
go get
works with source code repositories, but Google App Engine SDK is provided via .zip archives.
The only possible way to get Google App Engine SDK is to download it from here and install it manually.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论