{"action":"created","issue":{"url":"https://api.github.com/repos/getsentry/raven-go/issues/47","labels_url":"https://api.github.com/repos/getsentry/raven-go/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/getsentry/raven-go/issues/47/comments","events_url":"https://api.github.com/repos/getsentry/raven-go/issues/47/events","html_url":"https://github.com/getsentry/raven-go/pull/47","id":71496177,"number":47,"title":"fix severity constants types","user":{"login":"phemmer","id":1826947,"avatar_url":"https://avatars.githubusercontent.com/u/1826947?v=3","gravatar_id":"","url":"https://api.github.com/users/phemmer","html_url":"https://github.com/phemmer","followers_url":"https://api.github.com/users/phemmer/followers","following_url":"https://api.github.com/users/phemmer/following{/other_user}","gists_url":"https://api.github.com/users/phemmer/gists{/gist_id}","starred_url":"https://api.github.com/users/phemmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phemmer/subscriptions","organizations_url":"https://api.github.com/users/phemmer/orgs","repos_url":"https://api.github.com/users/phemmer/repos","events_url":"https://api.github.com/users/phemmer/events{/privacy}","received_events_url":"https://api.github.com/users/phemmer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-28T06:20:27Z","updated_at":"2015-04-28T06:57:41Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/getsentry/raven-go/pulls/47","html_url":"https://github.com/getsentry/raven-go/pull/47","diff_url":"https://github.com/getsentry/raven-go/pull/47.diff","patch_url":"https://github.com/getsentry/raven-go/pull/47.patch"},"body":"This fixes the types on all the severities. Previously `DEBUG` was the only constant typed as `Severity`. All the others (`INFO`, `WARNING`, etc) were normal strings.\r\n\r\n```\r\npackage main\r\n\r\nimport (\r\n\t\"fmt\"\r\n\t\"reflect\"\r\n\r\n\t\"github.com/getsentry/raven-go\"\r\n)\r\n\r\nfunc main() {\r\n\tfmt.Printf(\"raven.DEBUG: %s\\n\", reflect.TypeOf(raven.DEBUG))\r\n\tfmt.Printf(\"raven.INFO: %s\\n\", reflect.TypeOf(raven.INFO))\r\n\tfmt.Printf(\"raven.WARNING: %s\\n\", reflect.TypeOf(raven.WARNING))\r\n\tfmt.Printf(\"raven.ERROR: %s\\n\", reflect.TypeOf(raven.ERROR))\r\n\tfmt.Printf(\"raven.FATAL: %s\\n\", reflect.TypeOf(raven.FATAL))\r\n}\r\n```\r\n\r\n```\r\nraven.DEBUG: raven.Severity\r\nraven.INFO: string\r\nraven.WARNING: string\r\nraven.ERROR: string\r\nraven.FATAL: string\r\n```"},"comment":{"url":"https://api.github.com/repos/getsentry/raven-go/issues/comments/96950527","html_url":"https://github.com/getsentry/raven-go/pull/47#issuecomment-96950527","issue_url":"https://api.github.com/repos/getsentry/raven-go/issues/47","id":96950527,"user":{"login":"mattrobenolt","id":375744,"avatar_url":"https://avatars.githubusercontent.com/u/375744?v=3","gravatar_id":"","url":"https://api.github.com/users/mattrobenolt","html_url":"https://github.com/mattrobenolt","followers_url":"https://api.github.com/users/mattrobenolt/followers","following_url":"https://api.github.com/users/mattrobenolt/following{/other_user}","gists_url":"https://api.github.com/users/mattrobenolt/gists{/gist_id}","starred_url":"https://api.github.com/users/mattrobenolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattrobenolt/subscriptions","organizations_url":"https://api.github.com/users/mattrobenolt/orgs","repos_url":"https://api.github.com/users/mattrobenolt/repos","events_url":"https://api.github.com/users/mattrobenolt/events{/privacy}","received_events_url":"https://api.github.com/users/mattrobenolt/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T06:57:41Z","updated_at":"2015-04-28T06:57:41Z","body":"lol welp"}}