{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/298","repository_url":"https://api.github.com/repos/Microsoft/vscode-go","labels_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/298/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/298/events","html_url":"https://github.com/Microsoft/vscode-go/issues/298","id":148963362,"number":298,"title":"GOPATH using symlink under linux prevents correct gorename","user":{"login":"dbenque","id":6165584,"avatar_url":"https://avatars.githubusercontent.com/u/6165584?v=3","gravatar_id":"","url":"https://api.github.com/users/dbenque","html_url":"https://github.com/dbenque","followers_url":"https://api.github.com/users/dbenque/followers","following_url":"https://api.github.com/users/dbenque/following{/other_user}","gists_url":"https://api.github.com/users/dbenque/gists{/gist_id}","starred_url":"https://api.github.com/users/dbenque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbenque/subscriptions","organizations_url":"https://api.github.com/users/dbenque/orgs","repos_url":"https://api.github.com/users/dbenque/repos","events_url":"https://api.github.com/users/dbenque/events{/privacy}","received_events_url":"https://api.github.com/users/dbenque/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-17T15:25:35Z","updated_at":"2016-05-20T20:51:53Z","closed_at":null,"body":"gorename does not work with the following settings:\r\n\r\nGOPATH=/home/david/code/go\r\n\r\nwith /home/david/code is a symlink to /mnt/code\r\n\r\nthe gorename command will complain that the package is not found under /mnt/code/go/src/foo/main.go for example.\r\n\r\nsetting GOPATH to /mnt/code/go will make this work; but would it be possible to support correctly symlink used in GOPATH ?\r\n\r\nNot sure how this affect other tools, but gorename may not be the only one impacted."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/comments/220715526","html_url":"https://github.com/Microsoft/vscode-go/issues/298#issuecomment-220715526","issue_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/298","id":220715526,"user":{"login":"dbenque","id":6165584,"avatar_url":"https://avatars.githubusercontent.com/u/6165584?v=3","gravatar_id":"","url":"https://api.github.com/users/dbenque","html_url":"https://github.com/dbenque","followers_url":"https://api.github.com/users/dbenque/followers","following_url":"https://api.github.com/users/dbenque/following{/other_user}","gists_url":"https://api.github.com/users/dbenque/gists{/gist_id}","starred_url":"https://api.github.com/users/dbenque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbenque/subscriptions","organizations_url":"https://api.github.com/users/dbenque/orgs","repos_url":"https://api.github.com/users/dbenque/repos","events_url":"https://api.github.com/users/dbenque/events{/privacy}","received_events_url":"https://api.github.com/users/dbenque/received_events","type":"User","site_admin":false},"created_at":"2016-05-20T20:51:53Z","updated_at":"2016-05-20T20:51:53Z","body":"@ironcladlou, it is not `gorename` only. For example the debugger `dlv` also completely mess up with symlink.\r\nWith the values of my previous example if I set a breakpoint in `main.go` at the root of my project, the breakpoint is associated to `/home/david/code/go/src/myproject/main.go` and the debugger just don't stop... but if I manage to place the breakpoint to `/mnt/code/go/src/myproject/amin.go` then it works."}}
{"actor":{"display_login":"dbenque"}}