cannot find package "github.com/gorilla/mux" in any of:
I wish this helpful. You may off the 'mod'.
$ export GO111MODULE=off
Could you try this steps to debug it:
ls -l /usr/local/go/src/github.com | grep gorilla
cd $GOPATH
go list ... | grep gorilla
if you din't see gorilla in the above two command, then you need to install it:
go get -v -u github.com/gorilla/mux
Please run this: export PATH=$PATH:$GOPATH/bin
How about running go run main.go
? is that working, if yes you should be able to do go build
from your project path.