mattn / gom

Go Manager - bundle for go
1.38k stars 92 forks source link

Go 1.6 and vendor folder renaming #78

Closed gnufied closed 8 years ago

gnufied commented 8 years ago

Something changed between go versions and that is causing package dependencies to be installed in vendor folder rather than usual _vendor folder.

This only happens when gom is run from custom location. For example:

export GOPATH=$(pwd -L)
export PATH=$GOPATH/bin:$PATH
go get github.com/mattn/gom
gom install #will install dependencies in vendor folder while using golang 1.6

I usually use above pattern for self-contained project specific Makefile. This problem does not happen when I run gom install from globally configured GOPATH.

mattn commented 8 years ago

Sorry I'm not sure which you want. Do you mean _vendor is prefer than vendor? If you prefer _vendor on go16, set GO15VENDOREXPERIMENT=0.