{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/10478","labels_url":"https://api.github.com/repos/golang/go/issues/10478/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/10478/comments","events_url":"https://api.github.com/repos/golang/go/issues/10478/events","html_url":"https://github.com/golang/go/issues/10478","id":68932193,"number":10478,"title":"cmd/go: 'go run x.go' should not be able to import internal packages","user":{"login":"rsc","id":104030,"avatar_url":"https://avatars.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/1","html_url":"https://github.com/golang/go/milestones/Go1.5","labels_url":"https://api.github.com/repos/golang/go/milestones/1/labels","id":905105,"number":1,"title":"Go1.5","description":"","creator":{"login":"bradfitz","id":2621,"avatar_url":"https://avatars.githubusercontent.com/u/2621?v=3","gravatar_id":"","url":"https://api.github.com/users/bradfitz","html_url":"https://github.com/bradfitz","followers_url":"https://api.github.com/users/bradfitz/followers","following_url":"https://api.github.com/users/bradfitz/following{/other_user}","gists_url":"https://api.github.com/users/bradfitz/gists{/gist_id}","starred_url":"https://api.github.com/users/bradfitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradfitz/subscriptions","organizations_url":"https://api.github.com/users/bradfitz/orgs","repos_url":"https://api.github.com/users/bradfitz/repos","events_url":"https://api.github.com/users/bradfitz/events{/privacy}","received_events_url":"https://api.github.com/users/bradfitz/received_events","type":"User","site_admin":false},"open_issues":332,"closed_issues":320,"state":"open","created_at":"2014-12-16T02:26:41Z","updated_at":"2015-04-19T20:15:13Z","due_on":"2015-07-31T04:00:00Z","closed_at":null},"comments":3,"created_at":"2015-04-16T14:10:23Z","updated_at":"2015-04-19T20:17:36Z","closed_at":null,"body":"Commands built or run by listing Go source file names on the command line are treated as a separate workspace from $GOROOT and $GOPATH. The handling of /internal/ is not doing that, meaning that if you put an x.go in, say, $GOROOT/src/http and run 'go run x.go', it can import http/internal. That's a mistake."},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/94310132","html_url":"https://github.com/golang/go/issues/10478#issuecomment-94310132","issue_url":"https://api.github.com/repos/golang/go/issues/10478","id":94310132,"user":{"login":"rsc","id":104030,"avatar_url":"https://avatars.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"created_at":"2015-04-19T20:17:36Z","updated_at":"2015-04-19T20:17:36Z","body":"I'm sorry, but the fact that people use the bug does not make it less of a bug. Internal means internal.\r\n\r\n"}}