开发者

web.go install error

I am trying to install web.go using goinstall github.com/hoisie/web.go, and I keep getting an error about the path.

goinstall: github.com/hoisie/web.go: git: no such file or directory

goinstall is working for sure because when I type in just goinstall I get the options list for it. Any ideas on what I a开发者_JS百科m doing wrong?

Metropolis


You need to install git (http://git-scm.com) in order to fetch packages from a git repository.

Cheers,
Fabian


If you install web.go through goinstall, you need to do:

import "github.com/hoisie/web.go"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜