开发者

web.go install error

开发者 https://www.devze.com 2022-12-31 13:58 出处:网络
I am trying to install web.go using goinstall github.com/hoisie/web.go, and I keep getting an error about the path.

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

精彩评论

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