I'm using revel together with GO15VENDOREXPERIMENT. This implies that my revel package is located in the vendor folder inside my project folder:
$GOPATH\src\myproject\vendor\github.comevel
Revel and my project build correctly. Go implicitly changes the revel imports to:
"myproject/vendor/github.com/revel/revel
However, when I go to run my project, revel tries to import from the standard GOPATH. It does not recognize that I have GO15VENDOREXPERIMENT turned on.
c:\WorkspaceGo\go\src\myproject>revel run myproject
~
~ revel! http://revel.github.io
~
ERROR 2015/12/20 09:51:27 revel.go:281: Failed to find Revel with error:
cannot find package "github.com/revel/revel" in any of:
C:\Go\src\github.comevelevel (from $GOROOT)
c:\WorkspaceGo\go\src\github.comevelevel (from $GOPATH)
How can I make revel recognize GO15VENDOREXPERIMENT so that it uses the correct GOPATH?