{"action":"created","issue":{"url":"https://api.github.com/repos/gopherjs/gopherjs/issues/311","labels_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/311/comments","events_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/311/events","html_url":"https://github.com/gopherjs/gopherjs/issues/311","id":106927972,"number":311,"title":"code using http.Get not compile under go1.5.1","user":{"login":"Archs","id":4538154,"avatar_url":"https://avatars.githubusercontent.com/u/4538154?v=3","gravatar_id":"","url":"https://api.github.com/users/Archs","html_url":"https://github.com/Archs","followers_url":"https://api.github.com/users/Archs/followers","following_url":"https://api.github.com/users/Archs/following{/other_user}","gists_url":"https://api.github.com/users/Archs/gists{/gist_id}","starred_url":"https://api.github.com/users/Archs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Archs/subscriptions","organizations_url":"https://api.github.com/users/Archs/orgs","repos_url":"https://api.github.com/users/Archs/repos","events_url":"https://api.github.com/users/Archs/events{/privacy}","received_events_url":"https://api.github.com/users/Archs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-17T07:42:01Z","updated_at":"2015-09-17T08:25:37Z","closed_at":null,"body":"go version:  `go version go1.5.1 windows/386`\r\ngopherjs version: \r\n```\r\ncommit 01e6396a1a53e175463556bcaaf6a7babdab3f31\r\nAuthor: Richard Musiol <mail@richard-musiol.de>\r\nDate:   Tue Sep 15 00:19:58 2015 +0200\r\n\r\n    changed name of TestMain to TestNotRunMain (#282)\r\n```\r\n\r\n\r\nProgram\r\n```Go\r\npackage main\r\n\r\nimport (\r\n\t\"net/http\"\r\n)\r\n\r\nfunc testNetHTTP() {\r\n\tresp, err := http.Get(\"http://example.com/\")\r\n\tprintln(resp, err)\r\n}\r\n\r\nfunc main() {\r\n\ttestNetHTTP()\r\n}\r\n```\r\n\r\ngopherjs build output:\r\n```\r\nsrc\\syscall\\syscall_linux_arm64.go:68:6: Getpagesize redeclared in this block\r\nsrc\\syscall\\syscall_darwin_arm64.go:9:6:  other declaration of Getpagesize\r\nsrc\\syscall\\syscall_linux_arm64.go:73:6: TimespecToNsec redeclared in this block\r\nsrc\\syscall\\syscall_darwin_arm64.go:11:6:     other declaration of TimespecToNsec\r\nsrc\\syscall\\syscall_linux_arm64.go:75:6: NsecToTimespec redeclared in this block\r\nsrc\\syscall\\syscall_darwin_arm64.go:13:6:     other declaration of NsecToTimespec\r\nsrc\\syscall\\syscall_linux_arm64.go:81:6: TimevalToNsec redeclared in this block\r\nsrc\\syscall\\syscall_darwin_arm64.go:19:6:     other declaration of TimevalToNsec\r\nsrc\\syscall\\syscall_linux_arm64.go:83:6: NsecToTimeval redeclared in this block\r\nsrc\\syscall\\syscall_darwin_arm64.go:21:6:     other declaration of NsecToTimeval\r\nsrc\\syscall\\syscall_darwin_arm64.go:21:6: too many errors\r\n```"},"comment":{"url":"https://api.github.com/repos/gopherjs/gopherjs/issues/comments/141002570","html_url":"https://github.com/gopherjs/gopherjs/issues/311#issuecomment-141002570","issue_url":"https://api.github.com/repos/gopherjs/gopherjs/issues/311","id":141002570,"user":{"login":"shurcooL","id":1924134,"avatar_url":"https://avatars.githubusercontent.com/u/1924134?v=3","gravatar_id":"","url":"https://api.github.com/users/shurcooL","html_url":"https://github.com/shurcooL","followers_url":"https://api.github.com/users/shurcooL/followers","following_url":"https://api.github.com/users/shurcooL/following{/other_user}","gists_url":"https://api.github.com/users/shurcooL/gists{/gist_id}","starred_url":"https://api.github.com/users/shurcooL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shurcooL/subscriptions","organizations_url":"https://api.github.com/users/shurcooL/orgs","repos_url":"https://api.github.com/users/shurcooL/repos","events_url":"https://api.github.com/users/shurcooL/events{/privacy}","received_events_url":"https://api.github.com/users/shurcooL/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T08:25:37Z","updated_at":"2015-09-17T08:25:37Z","body":"Your code works okay for me, which is further evidence for the above."}}