I use command go get github.com/gorilla/mux
. I made http server using Golang, and I run this program :
package main
import (
\"fmt\"
\"htm
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.