I want to use Golang email template and when I run
go get -u github.com/matcornic/hermes/v2 it returns
package github.com/matcornic/hermes/v2: cannot find package "github.com/matcornic/hermes/v2" in any of: /usr/local/go/src/github.com/matcornic/hermes/v2 (from $GOROOT) /home/User/go/src/github.com/matcornic/hermes/v2 (from $GOPATH)
My go Variables
GOPATH - /home/User/go
GOROOT - /usr/local/go
GOBIN -
I fight with this error the whole day, But I can't find out a solution. Please help me.
I set MY gopath to another directory several times but it does not work
I am writing code in this directory
/home/User/go/src/Go-Web
and inside Go-Web my current project lies
v2
. – Adrian