1

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

Metropolis
  • 6,542
  • 19
  • 56
  • 86
  • 1
    Put your update into separate question. – jfs May 23 '10 at 22:07
  • Done. Sorry Sebastian, you are correct I should have put the second question into a new area. Thanks for the tip! New location = http://stackoverflow.com/questions/2893772/import-web-go-error-after-using-goinstall – Metropolis May 23 '10 at 22:36

2 Answers2

3

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

Cheers,
Fabian

halfdan
  • 33,545
  • 8
  • 78
  • 87
1

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

import "github.com/hoisie/web.go"
marketer
  • 41,507
  • 11
  • 37
  • 40
  • Thanks marketer that worked....That path is kind of messy, can I just move the files in there to a better location? Or will that cause goinstall to not know where it is when I update it? – Metropolis May 23 '10 at 22:07
  • Can this answer be moved to http://stackoverflow.com/questions/2893772/import-web-go-error-after-using-goinstall – Metropolis May 23 '10 at 22:36