Open SimonBard opened 4 years ago
I get the following error message:
main.go:10:2: cannot find package "github.com/gocolly/colly" in any of: /usr/lib/go-1.11/src/github.com/gocolly/colly (from $GOROOT) /root/go/src/github.com/gocolly/colly (from $GOPATH)
I tried to install colly with go get -u github.com/gocolly/colly/...
but failed.
I found the tip in another repo https://github.com/gocolly/colly/issues/475. Run this before installation go mod init github.com/luckylittle/blinkist-m4a-downloader
go mod init github.com/luckylittle/blinkist-m4a-downloader
I get the following error message:
main.go:10:2: cannot find package "github.com/gocolly/colly" in any of: /usr/lib/go-1.11/src/github.com/gocolly/colly (from $GOROOT) /root/go/src/github.com/gocolly/colly (from $GOPATH)
I tried to install colly with go get -u github.com/gocolly/colly/...
but failed.