{"action":"created","issue":{"url":"https://api.github.com/repos/gin-gonic/gin/issues/1151","repository_url":"https://api.github.com/repos/gin-gonic/gin","labels_url":"https://api.github.com/repos/gin-gonic/gin/issues/1151/labels{/name}","comments_url":"https://api.github.com/repos/gin-gonic/gin/issues/1151/comments","events_url":"https://api.github.com/repos/gin-gonic/gin/issues/1151/events","html_url":"https://github.com/gin-gonic/gin/issues/1151","id":269991978,"node_id":"MDU6SXNzdWUyNjk5OTE5Nzg=","number":1151,"title":"Export the errorMsgs type","user":{"login":"natefinch","id":3185864,"node_id":"MDQ6VXNlcjMxODU4NjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/3185864?v=4","gravatar_id":"","url":"https://api.github.com/users/natefinch","html_url":"https://github.com/natefinch","followers_url":"https://api.github.com/users/natefinch/followers","following_url":"https://api.github.com/users/natefinch/following{/other_user}","gists_url":"https://api.github.com/users/natefinch/gists{/gist_id}","starred_url":"https://api.github.com/users/natefinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natefinch/subscriptions","organizations_url":"https://api.github.com/users/natefinch/orgs","repos_url":"https://api.github.com/users/natefinch/repos","events_url":"https://api.github.com/users/natefinch/events{/privacy}","received_events_url":"https://api.github.com/users/natefinch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-31T15:00:23Z","updated_at":"2018-06-24T10:10:40Z","closed_at":null,"author_association":"NONE","body":"Context.Errors is of type errorMsgs ... this breaks a cardinal rule in Go, that any field that is exported should be of a type that is exported.   The main problem is that you can't get godoc on what Context.Errors *is*. You have to go looking through the code.\r\n\r\nIt shouldn't break anyone's code to change errorMsgs to an exported type, since no other code can declare it right now.  It would *probably* be safe to turn Context.Errors into an interface with the same methods as errorMsgs, but that could potentially break someone that is converting the value into an []*Error."},"comment":{"url":"https://api.github.com/repos/gin-gonic/gin/issues/comments/399744972","html_url":"https://github.com/gin-gonic/gin/issues/1151#issuecomment-399744972","issue_url":"https://api.github.com/repos/gin-gonic/gin/issues/1151","id":399744972,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTc0NDk3Mg==","user":{"login":"thinkerou","id":4488261,"node_id":"MDQ6VXNlcjQ0ODgyNjE=","avatar_url":"https://avatars2.githubusercontent.com/u/4488261?v=4","gravatar_id":"","url":"https://api.github.com/users/thinkerou","html_url":"https://github.com/thinkerou","followers_url":"https://api.github.com/users/thinkerou/followers","following_url":"https://api.github.com/users/thinkerou/following{/other_user}","gists_url":"https://api.github.com/users/thinkerou/gists{/gist_id}","starred_url":"https://api.github.com/users/thinkerou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinkerou/subscriptions","organizations_url":"https://api.github.com/users/thinkerou/orgs","repos_url":"https://api.github.com/users/thinkerou/repos","events_url":"https://api.github.com/users/thinkerou/events{/privacy}","received_events_url":"https://api.github.com/users/thinkerou/received_events","type":"User","site_admin":false},"created_at":"2018-06-24T10:10:40Z","updated_at":"2018-06-24T10:10:40Z","author_association":"CONTRIBUTOR","body":"`that any field that is exported should be of a type that is exported.`\r\n@natefinch sorry, please ask the rule where explain, but I read some go source which not find break the rule. thanks a lot!"}}
{"actor":{"display_login":"thinkerou"}}