{"action":"opened","issue":{"url":"https://api.github.com/repos/golang/go/issues/20470","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/20470/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/20470/comments","events_url":"https://api.github.com/repos/golang/go/issues/20470/events","html_url":"https://github.com/golang/go/issues/20470","id":230796961,"number":20470,"title":"JoinHostPort() enclose IPv6 in square brackets even if host is already in this format","user":{"login":"jleroy","id":671734,"avatar_url":"https://avatars0.githubusercontent.com/u/671734?v=3","gravatar_id":"","url":"https://api.github.com/users/jleroy","html_url":"https://github.com/jleroy","followers_url":"https://api.github.com/users/jleroy/followers","following_url":"https://api.github.com/users/jleroy/following{/other_user}","gists_url":"https://api.github.com/users/jleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/jleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jleroy/subscriptions","organizations_url":"https://api.github.com/users/jleroy/orgs","repos_url":"https://api.github.com/users/jleroy/repos","events_url":"https://api.github.com/users/jleroy/events{/privacy}","received_events_url":"https://api.github.com/users/jleroy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-23T18:09:42Z","updated_at":"2017-05-23T18:09:42Z","closed_at":null,"body":"### What version of Go are you using (`go version`)?\r\n\r\n`go version go1.8.1 darwin/amd64`\r\n\r\n### What operating system and processor architecture are you using (`go env`)?\r\n\r\n```\r\nGOARCH=\"amd64\"\r\nGOBIN=\"\"\r\nGOEXE=\"\"\r\nGOHOSTARCH=\"amd64\"\r\nGOHOSTOS=\"darwin\"\r\nGOOS=\"darwin\"\r\nGOPATH=\"/Users/jonathan/go\"\r\nGORACE=\"\"\r\nGOROOT=\"/usr/local/go\"\r\nGOTOOLDIR=\"/usr/local/go/pkg/tool/darwin_amd64\"\r\nGCCGO=\"gccgo\"\r\nCC=\"clang\"\r\nGOGCCFLAGS=\"-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/fb/736129595jl9p0x2nsxx2lmh0000gn/T/go-build264978375=/tmp/go-build -gno-record-gcc-switches -fno-common\"\r\nCXX=\"clang++\"\r\nCGO_ENABLED=\"1\"\r\nPKG_CONFIG=\"pkg-config\"\r\nCGO_CFLAGS=\"-g -O2\"\r\nCGO_CPPFLAGS=\"\"\r\nCGO_CXXFLAGS=\"-g -O2\"\r\nCGO_FFLAGS=\"-g -O2\"\r\nCGO_LDFLAGS=\"-g -O2\"\r\n```\r\n\r\n### What did you do?\r\n\r\nhttps://play.golang.org/p/nrIZqsxHIY\r\n\r\n### What did you expect to see?\r\n\r\n`[[fd41:9eff:c33::1b:ffff]]:5672`\r\n\r\n### What did you see instead?\r\n\r\n`[fd41:9eff:c33::1b:ffff]:5672`\r\n"}}
{"actor":{"display_login":"jleroy"}}