web.go install error

521 views Asked by At

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 am doing wrong?

Metropolis

2

There are 2 answers

1
halfdan On BEST ANSWER

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

Cheers,
Fabian

2
marketer On

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

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