{"action":"opened","issue":{"url":"https://api.github.com/repos/fatih/vim-go/issues/613","labels_url":"https://api.github.com/repos/fatih/vim-go/issues/613/labels{/name}","comments_url":"https://api.github.com/repos/fatih/vim-go/issues/613/comments","events_url":"https://api.github.com/repos/fatih/vim-go/issues/613/events","html_url":"https://github.com/fatih/vim-go/issues/613","id":118283984,"number":613,"title":"Syntastic + packages in gb path. ","user":{"login":"groob","id":1526945,"avatar_url":"https://avatars.githubusercontent.com/u/1526945?v=3","gravatar_id":"","url":"https://api.github.com/users/groob","html_url":"https://github.com/groob","followers_url":"https://api.github.com/users/groob/followers","following_url":"https://api.github.com/users/groob/following{/other_user}","gists_url":"https://api.github.com/users/groob/gists{/gist_id}","starred_url":"https://api.github.com/users/groob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groob/subscriptions","organizations_url":"https://api.github.com/users/groob/orgs","repos_url":"https://api.github.com/users/groob/repos","events_url":"https://api.github.com/users/groob/events{/privacy}","received_events_url":"https://api.github.com/users/groob/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-22T19:41:28Z","updated_at":"2015-11-22T19:41:28Z","closed_at":null,"body":"I'm working on a gb project, and while `:GoPath` reports the correct folder(gb project) `echo $GOPATH` reports the default $GOPATH. This is causing syntastic to fail with \"package not found in path\" error whenever there is an import of another gb package(from the same project folder). \r\n\r\nThis issue is specific to syntastic. Using GoBuild does not cause any errors. \r\n\r\nI also noticed that my gb path contains both pkg paths named `darwin-amd64` and `darwin_amd64`. \r\n\r\nMy environment:\r\nShell - ZSH(GOPATH defined in zshrc)\r\neditor - nvim\r\n\r\nnvimrc:\r\n```\r\nfiletype off                  \" required\r\n\r\n\" set the runtime path to include Vundle and initialize\r\nset rtp+=~/.vim/bundle/Vundle.vim\r\ncall vundle#begin()\r\n\" alternatively, pass a path where Vundle should install plugins\r\n\"call vundle#begin('~/some/path/here')\r\n\r\n\" let Vundle manage Vundle, required\r\nPlugin 'gmarik/Vundle.vim'\r\nPlugin 'fatih/vim-go'\r\nPlugin 'tpope/vim-sensible'\r\nPlugin 'tpope/vim-fugitive'\r\nPlugin 'Valloric/YouCompleteMe'\r\nPlugin 'ekalinin/Dockerfile.vim'\r\nPlugin 'markcornick/vim-terraform'\r\nPlugin 'robbles/logstash.vim'\r\nPlugin 'jeffkreeftmeijer/vim-numbertoggle'\r\nPlugin 'scrooloose/syntastic'\r\nPlugin 'rodjek/vim-puppet'\r\nPlugin 'tomtom/tcomment_vim'\r\nPlugin 'mxw/vim-jsx'\r\nPlugin 'rizzatti/dash.vim'\r\nPlugin 'christoomey/vim-tmux-navigator'\r\nPlugin 'edsono/vim-matchit'\r\n\r\n\r\n\" All of your Plugins must be added before the following line\r\ncall vundle#end()            \" required\r\nfiletype plugin indent on    \" required\r\n\" To ignore plugin indent changes, instead use:\r\n\"filetype plugin on\r\n\"\r\n\" Brief help\r\n\" :PluginList       - lists configured plugins\r\n\" :PluginInstall    - installs plugins; append `!` to update or just :PluginUpdate\r\n\" :PluginSearch foo - searches for foo; append `!` to refresh local cache\r\n\" :PluginClean      - confirms removal of unused plugins; append `!` to auto-approve removal\r\n\"\r\n\" see :h vundle for more details or wiki for FAQ\r\n\" Put your non-Plugin stuff after this line\r\n\"\r\n\"My Config\r\n\"\r\n\"\r\nlet mapleader = \",\"\r\nset rnu\r\nsyntax enable\r\nlet g:rehash256 = 1\r\nlet g:go_fmt_command = \"goimports\"\r\nset splitright\r\n\r\nset tabstop=4       \" The width of a TAB is set to 4.\r\n                    \" Still it is a \\t. It is just that\r\n                    \" Vim will interpret it to be having\r\n                    \" a width of 4.\r\n\r\nset shiftwidth=4    \" Indents will have a width of 4\r\n\r\nset softtabstop=4   \" Sets the number of columns for a TAB\r\n\r\nset expandtab       \" Expand TABs to spaces\r\n\r\nnnoremap <C-J> <C-W><C-J>\r\nnnoremap <C-K> <C-W><C-K>\r\nnnoremap <C-L> <C-W><C-L>\r\nnnoremap <C-H> <C-W><C-H>\r\n\r\n```\r\n\r\ngb project folder structure:\r\n\r\n```\r\n.\r\n├── Dockerfile\r\n├── Dockerfile.build\r\n├── Makefile\r\n├── README.md\r\n├── bin\r\n│   └── planc\r\n├── db\r\n│   ├── dbconf.yml\r\n│   ├── dev.db\r\n│   └── migrations\r\n├── pkg\r\n│   ├── darwin-amd64\r\n│   └── darwin_amd64\r\n├── src\r\n│   └── planc\r\n└── vendor\r\n    ├── manifest\r\n    ├── pkg\r\n    └── src\r\n```"}}