Error in go build
alamlearnN opened this issue · 2 comments
when i run go build command following command occurs ....
GoLinkFinder.go:18:2: cannot find package "github.com/PuerkitoBio/goquery" in any of:
/usr/local/go/src/github.com/PuerkitoBio/goquery (from $GOROOT)
/home/alam/go/src/github.com/PuerkitoBio/goquery (from $GOPATH)
GoLinkFinder.go:19:2: cannot find package "github.com/akamensky/argparse" in any of:
/usr/local/go/src/github.com/akamensky/argparse (from $GOROOT)
/home/alam/go/src/github.com/akamensky/argparse (from $GOPATH)
GoLinkFinder.go:20:2: cannot find package "github.com/tomnomnom/gahttp" in any of:
/usr/local/go/src/github.com/tomnomnom/gahttp (from $GOROOT)
/home/alam/go/src/github.com/tomnomnom/gahttp (from $GOPATH)
Hi ,
As the error says you have to download all the missing packages that this is project is currently using.Below is the list from your error :
https://github.com/PuerkitoBio/goquery
https://github.com/akamensky/argparse
https://github.com/tomnomnom/gahttp
You can manually go to your go directory and do a git clone or you can use go get cmd usually mentioned in every go language repo.
Thanks for help.