{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/4373","labels_url":"https://api.github.com/repos/golang/go/issues/4373/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/4373/comments","events_url":"https://api.github.com/repos/golang/go/issues/4373/events","html_url":"https://github.com/golang/go/issues/4373","id":51282038,"number":4373,"title":"net: errClosing not exported","user":{"login":"gopherbot","id":8566911,"avatar_url":"https://avatars.githubusercontent.com/u/8566911?v=3","gravatar_id":"","url":"https://api.github.com/users/gopherbot","html_url":"https://github.com/gopherbot","followers_url":"https://api.github.com/users/gopherbot/followers","following_url":"https://api.github.com/users/gopherbot/following{/other_user}","gists_url":"https://api.github.com/users/gopherbot/gists{/gist_id}","starred_url":"https://api.github.com/users/gopherbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gopherbot/subscriptions","organizations_url":"https://api.github.com/users/gopherbot/orgs","repos_url":"https://api.github.com/users/gopherbot/repos","events_url":"https://api.github.com/users/gopherbot/events{/privacy}","received_events_url":"https://api.github.com/users/gopherbot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/golang/go/labels/go1.1","name":"go1.1","color":"ededed"},{"url":"https://api.github.com/repos/golang/go/labels/priority-triage","name":"priority-triage","color":"ededed"},{"url":"https://api.github.com/repos/golang/go/labels/wontfix","name":"wontfix","color":"ffffff"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":21,"created_at":"2012-11-11T19:56:32Z","updated_at":"2015-03-17T06:40:05Z","closed_at":null,"body":"by **stephen@q5comm.com**:\n\n<pre>I have seen the issue in 1.0.3 and from checking tip.golang.org, it is still a problem.\n\nnet.errClosing is an errors.New() that is not exported but returned to the user. This\nmeans that in order for a user to check for the &quot;errClosing&quot;, they need to\ncheck the error string.\n\nI suggest renaming to ErrClosing so that a client can easily check if another goroutine\nclosed it's connection.</pre>"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/82153293","html_url":"https://github.com/golang/go/issues/4373#issuecomment-82153293","issue_url":"https://api.github.com/repos/golang/go/issues/4373","id":82153293,"user":{"login":"mikioh","id":92117,"avatar_url":"https://avatars.githubusercontent.com/u/92117?v=3","gravatar_id":"","url":"https://api.github.com/users/mikioh","html_url":"https://github.com/mikioh","followers_url":"https://api.github.com/users/mikioh/followers","following_url":"https://api.github.com/users/mikioh/following{/other_user}","gists_url":"https://api.github.com/users/mikioh/gists{/gist_id}","starred_url":"https://api.github.com/users/mikioh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikioh/subscriptions","organizations_url":"https://api.github.com/users/mikioh/orgs","repos_url":"https://api.github.com/users/mikioh/repos","events_url":"https://api.github.com/users/mikioh/events{/privacy}","received_events_url":"https://api.github.com/users/mikioh/received_events","type":"User","site_admin":false},"created_at":"2015-03-17T06:40:04Z","updated_at":"2015-03-17T06:40:04Z","body":"I'm not sure the reason why both net/url and net/http packages don't conform with net.Error interface, I'd prefer to make net.Error interface (both Timeout and Temporary methods on error) with both packages. Thoughts?\r\n\r\nPS: #4856 is already filed for fixing the same issue of net package."}}