{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/109","labels_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/109/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/109/events","html_url":"https://github.com/Microsoft/vscode-go/issues/109","id":119125215,"number":109,"title":"\"Format Code\" imports wrong package","user":{"login":"ivoviz","id":1143746,"avatar_url":"https://avatars.githubusercontent.com/u/1143746?v=3","gravatar_id":"","url":"https://api.github.com/users/ivoviz","html_url":"https://github.com/ivoviz","followers_url":"https://api.github.com/users/ivoviz/followers","following_url":"https://api.github.com/users/ivoviz/following{/other_user}","gists_url":"https://api.github.com/users/ivoviz/gists{/gist_id}","starred_url":"https://api.github.com/users/ivoviz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivoviz/subscriptions","organizations_url":"https://api.github.com/users/ivoviz/orgs","repos_url":"https://api.github.com/users/ivoviz/repos","events_url":"https://api.github.com/users/ivoviz/events{/privacy}","received_events_url":"https://api.github.com/users/ivoviz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-27T03:14:43Z","updated_at":"2015-11-27T15:19:21Z","closed_at":null,"body":"Let's say I have a structure like this (in the `src` folder, obviously):\r\n\r\n    github.com/ivoviz/app1\r\n    github.com/ivoviz/app2\r\n    github.com/ivoviz/app3\r\n\r\nLet's also assume that both `app1` and `app2` has a package called `db`. Now I haven't really tested out when does the import work properly and when not (just came here to report the issue asap), but in my case I have used the `db` package in `app2`, then used \"Format Code\". After half an hour I realized it imported the package from `app1`.\r\n\r\nIn my case both `db` packages were similar - not exactly the same -, but they both had that exact function."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/comments/160158564","html_url":"https://github.com/Microsoft/vscode-go/issues/109#issuecomment-160158564","issue_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/109","id":160158564,"user":{"login":"newhook","id":10376697,"avatar_url":"https://avatars.githubusercontent.com/u/10376697?v=3","gravatar_id":"","url":"https://api.github.com/users/newhook","html_url":"https://github.com/newhook","followers_url":"https://api.github.com/users/newhook/followers","following_url":"https://api.github.com/users/newhook/following{/other_user}","gists_url":"https://api.github.com/users/newhook/gists{/gist_id}","starred_url":"https://api.github.com/users/newhook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newhook/subscriptions","organizations_url":"https://api.github.com/users/newhook/orgs","repos_url":"https://api.github.com/users/newhook/repos","events_url":"https://api.github.com/users/newhook/events{/privacy}","received_events_url":"https://api.github.com/users/newhook/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T15:19:21Z","updated_at":"2015-11-27T15:19:21Z","body":"What do you mean \"same app\"?"}}