In ~/.bash_profile , has a GOPATH Like this : export GOPATH=/go
In the specific project ( *Not In GOPATH folder *), has a .env file Like this: export GOPATH=`pwd`:$GOPATH this .env file makes current dir as a GOPTAH. After exec `source .env `, GOPATH becomes to this: go env .... GOPATH=*/workspace/specific/project/*:/go .... Now , If this specific project has a vendor folder in it`s root dir , go *cant`t *detect the packages in this vendor folder. if move the whole project into the GOPATH (* /go , not the `pwd` *), go* can *recognize packages in vendor folder. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.