{"action":"created","issue":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1820","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1820/labels{/name}","comments_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1820/comments","events_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1820/events","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/1820","id":102316196,"number":1820,"title":"Support for the go 1.5 Vendor Experiment","user":{"login":"Vektah","id":2247982,"avatar_url":"https://avatars.githubusercontent.com/u/2247982?v=3","gravatar_id":"","url":"https://api.github.com/users/Vektah","html_url":"https://github.com/Vektah","followers_url":"https://api.github.com/users/Vektah/followers","following_url":"https://api.github.com/users/Vektah/following{/other_user}","gists_url":"https://api.github.com/users/Vektah/gists{/gist_id}","starred_url":"https://api.github.com/users/Vektah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vektah/subscriptions","organizations_url":"https://api.github.com/users/Vektah/orgs","repos_url":"https://api.github.com/users/Vektah/repos","events_url":"https://api.github.com/users/Vektah/events{/privacy}","received_events_url":"https://api.github.com/users/Vektah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"zolotov","id":140920,"avatar_url":"https://avatars.githubusercontent.com/u/140920?v=3","gravatar_id":"","url":"https://api.github.com/users/zolotov","html_url":"https://github.com/zolotov","followers_url":"https://api.github.com/users/zolotov/followers","following_url":"https://api.github.com/users/zolotov/following{/other_user}","gists_url":"https://api.github.com/users/zolotov/gists{/gist_id}","starred_url":"https://api.github.com/users/zolotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zolotov/subscriptions","organizations_url":"https://api.github.com/users/zolotov/orgs","repos_url":"https://api.github.com/users/zolotov/repos","events_url":"https://api.github.com/users/zolotov/events{/privacy}","received_events_url":"https://api.github.com/users/zolotov/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/milestones/6","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/milestones/1.0.0","labels_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/milestones/6/labels","id":169045,"number":6,"title":"1.0.0","description":"","creator":{"login":"mtoader","id":372850,"avatar_url":"https://avatars.githubusercontent.com/u/372850?v=3","gravatar_id":"","url":"https://api.github.com/users/mtoader","html_url":"https://github.com/mtoader","followers_url":"https://api.github.com/users/mtoader/followers","following_url":"https://api.github.com/users/mtoader/following{/other_user}","gists_url":"https://api.github.com/users/mtoader/gists{/gist_id}","starred_url":"https://api.github.com/users/mtoader/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtoader/subscriptions","organizations_url":"https://api.github.com/users/mtoader/orgs","repos_url":"https://api.github.com/users/mtoader/repos","events_url":"https://api.github.com/users/mtoader/events{/privacy}","received_events_url":"https://api.github.com/users/mtoader/received_events","type":"User","site_admin":false},"open_issues":63,"closed_issues":492,"state":"open","created_at":"2012-09-02T21:49:33Z","updated_at":"2015-11-12T17:13:24Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2015-08-21T07:25:05Z","updated_at":"2015-11-12T20:37:14Z","closed_at":null,"body":"It seems there is no direct support for looking doing package resolution into the vendor directory.\r\n\r\nI am currently working around it by creating a `src` symlink in the vendor directory that points to itself and adding the vendor directory as a project GOPATH.\r\n![symlink](https://cloud.githubusercontent.com/assets/2247982/9403270/e3920320-4828-11e5-8966-cfc1ad59ae61.png)\r\n\r\nIt would be nice if the plugin automatically detected the presence of the vendor directory and added it automatically.\r\n\r\nWhen support for the vendor experiment is added this should be added to the other tools / run configurations as well in order to enable transparent compiling / running of those tools.\r\n\r\nThe corresponding environment variable to enables the experiment, `GO15VENDOREXPERIMENT=1`\r\n\r\nRelated: https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo"},"comment":{"url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/comments/156226738","html_url":"https://github.com/go-lang-plugin-org/go-lang-idea-plugin/issues/1820#issuecomment-156226738","issue_url":"https://api.github.com/repos/go-lang-plugin-org/go-lang-idea-plugin/issues/1820","id":156226738,"user":{"login":"mihaicostin","id":1698275,"avatar_url":"https://avatars.githubusercontent.com/u/1698275?v=3","gravatar_id":"","url":"https://api.github.com/users/mihaicostin","html_url":"https://github.com/mihaicostin","followers_url":"https://api.github.com/users/mihaicostin/followers","following_url":"https://api.github.com/users/mihaicostin/following{/other_user}","gists_url":"https://api.github.com/users/mihaicostin/gists{/gist_id}","starred_url":"https://api.github.com/users/mihaicostin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihaicostin/subscriptions","organizations_url":"https://api.github.com/users/mihaicostin/orgs","repos_url":"https://api.github.com/users/mihaicostin/repos","events_url":"https://api.github.com/users/mihaicostin/events{/privacy}","received_events_url":"https://api.github.com/users/mihaicostin/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T20:37:14Z","updated_at":"2015-11-12T20:37:14Z","body":"I've done it other way around - create a symlink in my src folder 'github.com' pointing to 'vendor/github.com' - and it works ok. the downside to this is that you'll need to create a symlink for each vendored top package name."}}