GitHub PullRequestReviewCommentEvent at 2014-08-23 00:48:58
Repository: gotools-api
Actor: r0mant
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/mailgun/gotools-api/pulls/comments/16627414","id":16627414,"diff_hunk":"@@ -51,3 +54,16 @@ type ConflictError struct {\n func (e ConflictError) Error() string {\n \treturn e.Description\n }\n+\n+func getResponseAndStatusByError(err error) (Response, int) {","path":"errors.go","position":16,"original_position":16,"commit_id":"9e70fc2aa08c3563a9340c57414e9be82fa76b03","original_commit_id":"9e70fc2aa08c3563a9340c57414e9be82fa76b03","user":{"login":"r0mant","id":339322,"avatar_url":"https://avatars.githubusercontent.com/u/339322?v=2","gravatar_id":"f79e8a9506128d6396b93658134a271a","url":"https://api.github.com/users/r0mant","html_url":"https://github.com/r0mant","followers_url":"https://api.github.com/users/r0mant/followers","following_url":"https://api.github.com/users/r0mant/following{/other_user}","gists_url":"https://api.github.com/users/r0mant/gists{/gist_id}","starred_url":"https://api.github.com/users/r0mant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r0mant/subscriptions","organizations_url":"https://api.github.com/users/r0mant/orgs","repos_url":"https://api.github.com/users/r0mant/repos","events_url":"https://api.github.com/users/r0mant/events{/privacy}","received_events_url":"https://api.github.com/users/r0mant/received_events","type":"User","site_admin":false},"body":"However, if you want to see some really long names you should check out Java APIs:\r\n\r\nhttp://docs.spring.io/spring-security/site/docs/2.0.7.RELEASE/apidocs/org/springframework/security/ui/preauth/PreAuthenticatedGrantedAuthoritiesWebAuthenticationDetails.html\r\n\r\n:)","created_at":"2014-08-23T00:48:58Z","updated_at":"2014-08-23T00:48:58Z","html_url":"https://github.com/mailgun/gotools-api/pull/3#discussion_r16627414","pull_request_url":"https://api.github.com/repos/mailgun/gotools-api/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/mailgun/gotools-api/pulls/comments/16627414"},"html":{"href":"https://github.com/mailgun/gotools-api/pull/3#discussion_r16627414"},"pull_request":{"href":"https://api.github.com/repos/mailgun/gotools-api/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/mailgun/gotools-api/pulls/3","id":20190700,"html_url":"https://github.com/mailgun/gotools-api/pull/3","diff_url":"https://github.com/mailgun/gotools-api/pull/3.diff","patch_url":"https://github.com/mailgun/gotools-api/pull/3.patch","issue_url":"https://api.github.com/repos/mailgun/gotools-api/issues/3","number":3,"state":"open","locked":false,"title":"Integrate metrics support and refactor the code.","user":{"login":"r0mant","id":339322,"avatar_url":"https://avatars.githubusercontent.com/u/339322?v=2","gravatar_id":"f79e8a9506128d6396b93658134a271a","url":"https://api.github.com/users/r0mant","html_url":"https://github.com/r0mant","followers_url":"https://api.github.com/users/r0mant/followers","following_url":"https://api.github.com/users/r0mant/following{/other_user}","gists_url":"https://api.github.com/users/r0mant/gists{/gist_id}","starred_url":"https://api.github.com/users/r0mant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r0mant/subscriptions","organizations_url":"https://api.github.com/users/r0mant/orgs","repos_url":"https://api.github.com/users/r0mant/repos","events_url":"https://api.github.com/users/r0mant/events{/privacy}","received_events_url":"https://api.github.com/users/r0mant/received_events","type":"User","site_admin":false},"body":"Two things really:\r\n- Provide ability to emit metrics for API calls.\r\n- Nicer code organization.","created_at":"2014-08-22T19:03:43Z","updated_at":"2014-08-23T00:48:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3c31971df62f716aa21b42006df29e1641d47fd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mailgun/gotools-api/pulls/3/commits","review_comments_url":"https://api.github.com/repos/mailgun/gotools-api/pulls/3/comments","review_comment_url":"https://api.github.com/repos/mailgun/gotools-api/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mailgun/gotools-api/issues/3/comments","statuses_url":"https://api.github.com/repos/mailgun/gotools-api/statuses/9e70fc2aa08c3563a9340c57414e9be82fa76b03","head":{"label":"mailgun:roman/metrics","ref":"roman/metrics","sha":"9e70fc2aa08c3563a9340c57414e9be82fa76b03","user":{"login":"mailgun","id":447686,"avatar_url":"https://avatars.githubusercontent.com/u/447686?v=2","gravatar_id":"6404cf14cab12538e231bbb6f933fd0b","url":"https://api.github.com/users/mailgun","html_url":"https://github.com/mailgun","followers_url":"https://api.github.com/users/mailgun/followers","following_url":"https://api.github.com/users/mailgun/following{/other_user}","gists_url":"https://api.github.com/users/mailgun/gists{/gist_id}","starred_url":"https://api.github.com/users/mailgun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailgun/subscriptions","organizations_url":"https://api.github.com/users/mailgun/orgs","repos_url":"https://api.github.com/users/mailgun/repos","events_url":"https://api.github.com/users/mailgun/events{/privacy}","received_events_url":"https://api.github.com/users/mailgun/received_events","type":"Organization","site_admin":false},"repo":{"id":17259035,"name":"gotools-api","full_name":"mailgun/gotools-api","owner":{"login":"mailgun","id":447686,"avatar_url":"https://avatars.githubusercontent.com/u/447686?v=2","gravatar_id":"6404cf14cab12538e231bbb6f933fd0b","url":"https://api.github.com/users/mailgun","html_url":"https://github.com/mailgun","followers_url":"https://api.github.com/users/mailgun/followers","following_url":"https://api.github.com/users/mailgun/following{/other_user}","gists_url":"https://api.github.com/users/mailgun/gists{/gist_id}","starred_url":"https://api.github.com/users/mailgun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailgun/subscriptions","organizations_url":"https://api.github.com/users/mailgun/orgs","repos_url":"https://api.github.com/users/mailgun/repos","events_url":"https://api.github.com/users/mailgun/events{/privacy}","received_events_url":"https://api.github.com/users/mailgun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mailgun/gotools-api","description":"Golang tools for creating RESTful JSON APIs at Mailgun.","fork":false,"url":"https://api.github.com/repos/mailgun/gotools-api","forks_url":"https://api.github.com/repos/mailgun/gotools-api/forks","keys_url":"https://api.github.com/repos/mailgun/gotools-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mailgun/gotools-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mailgun/gotools-api/teams","hooks_url":"https://api.github.com/repos/mailgun/gotools-api/hooks","issue_events_url":"https://api.github.com/repos/mailgun/gotools-api/issues/events{/number}","events_url":"https://api.github.com/repos/mailgun/gotools-api/events","assignees_url":"https://api.github.com/repos/mailgun/gotools-api/assignees{/user}","branches_url":"https://api.github.com/repos/mailgun/gotools-api/branches{/branch}","tags_url":"https://api.github.com/repos/mailgun/gotools-api/tags","blobs_url":"https://api.github.com/repos/mailgun/gotools-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mailgun/gotools-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mailgun/gotools-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mailgun/gotools-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mailgun/gotools-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mailgun/gotools-api/languages","stargazers_url":"https://api.github.com/repos/mailgun/gotools-api/stargazers","contributors_url":"https://api.github.com/repos/mailgun/gotools-api/contributors","subscribers_url":"https://api.github.com/repos/mailgun/gotools-api/subscribers","subscription_url":"https://api.github.com/repos/mailgun/gotools-api/subscription","commits_url":"https://api.github.com/repos/mailgun/gotools-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mailgun/gotools-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mailgun/gotools-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mailgun/gotools-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/mailgun/gotools-api/contents/{+path}","compare_url":"https://api.github.com/repos/mailgun/gotools-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mailgun/gotools-api/merges","archive_url":"https://api.github.com/repos/mailgun/gotools-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mailgun/gotools-api/downloads","issues_url":"https://api.github.com/repos/mailgun/gotools-api/issues{/number}","pulls_url":"https://api.github.com/repos/mailgun/gotools-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mailgun/gotools-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mailgun/gotools-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mailgun/gotools-api/labels{/name}","releases_url":"https://api.github.com/repos/mailgun/gotools-api/releases{/id}","created_at":"2014-02-27T18:18:37Z","updated_at":"2014-08-03T00:43:33Z","pushed_at":"2014-08-22T22:19:52Z","git_url":"git://github.com/mailgun/gotools-api.git","ssh_url":"git@github.com:mailgun/gotools-api.git","clone_url":"https://github.com/mailgun/gotools-api.git","svn_url":"https://github.com/mailgun/gotools-api","homepage":"","size":228,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"mailgun:master","ref":"master","sha":"c6124f5cdbb0aef85c3b2070f1ac38a735ce0460","user":{"login":"mailgun","id":447686,"avatar_url":"https://avatars.githubusercontent.com/u/447686?v=2","gravatar_id":"6404cf14cab12538e231bbb6f933fd0b","url":"https://api.github.com/users/mailgun","html_url":"https://github.com/mailgun","followers_url":"https://api.github.com/users/mailgun/followers","following_url":"https://api.github.com/users/mailgun/following{/other_user}","gists_url":"https://api.github.com/users/mailgun/gists{/gist_id}","starred_url":"https://api.github.com/users/mailgun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailgun/subscriptions","organizations_url":"https://api.github.com/users/mailgun/orgs","repos_url":"https://api.github.com/users/mailgun/repos","events_url":"https://api.github.com/users/mailgun/events{/privacy}","received_events_url":"https://api.github.com/users/mailgun/received_events","type":"Organization","site_admin":false},"repo":{"id":17259035,"name":"gotools-api","full_name":"mailgun/gotools-api","owner":{"login":"mailgun","id":447686,"avatar_url":"https://avatars.githubusercontent.com/u/447686?v=2","gravatar_id":"6404cf14cab12538e231bbb6f933fd0b","url":"https://api.github.com/users/mailgun","html_url":"https://github.com/mailgun","followers_url":"https://api.github.com/users/mailgun/followers","following_url":"https://api.github.com/users/mailgun/following{/other_user}","gists_url":"https://api.github.com/users/mailgun/gists{/gist_id}","starred_url":"https://api.github.com/users/mailgun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailgun/subscriptions","organizations_url":"https://api.github.com/users/mailgun/orgs","repos_url":"https://api.github.com/users/mailgun/repos","events_url":"https://api.github.com/users/mailgun/events{/privacy}","received_events_url":"https://api.github.com/users/mailgun/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mailgun/gotools-api","description":"Golang tools for creating RESTful JSON APIs at Mailgun.","fork":false,"url":"https://api.github.com/repos/mailgun/gotools-api","forks_url":"https://api.github.com/repos/mailgun/gotools-api/forks","keys_url":"https://api.github.com/repos/mailgun/gotools-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mailgun/gotools-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mailgun/gotools-api/teams","hooks_url":"https://api.github.com/repos/mailgun/gotools-api/hooks","issue_events_url":"https://api.github.com/repos/mailgun/gotools-api/issues/events{/number}","events_url":"https://api.github.com/repos/mailgun/gotools-api/events","assignees_url":"https://api.github.com/repos/mailgun/gotools-api/assignees{/user}","branches_url":"https://api.github.com/repos/mailgun/gotools-api/branches{/branch}","tags_url":"https://api.github.com/repos/mailgun/gotools-api/tags","blobs_url":"https://api.github.com/repos/mailgun/gotools-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mailgun/gotools-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mailgun/gotools-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mailgun/gotools-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mailgun/gotools-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mailgun/gotools-api/languages","stargazers_url":"https://api.github.com/repos/mailgun/gotools-api/stargazers","contributors_url":"https://api.github.com/repos/mailgun/gotools-api/contributors","subscribers_url":"https://api.github.com/repos/mailgun/gotools-api/subscribers","subscription_url":"https://api.github.com/repos/mailgun/gotools-api/subscription","commits_url":"https://api.github.com/repos/mailgun/gotools-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mailgun/gotools-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mailgun/gotools-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mailgun/gotools-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/mailgun/gotools-api/contents/{+path}","compare_url":"https://api.github.com/repos/mailgun/gotools-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mailgun/gotools-api/merges","archive_url":"https://api.github.com/repos/mailgun/gotools-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mailgun/gotools-api/downloads","issues_url":"https://api.github.com/repos/mailgun/gotools-api/issues{/number}","pulls_url":"https://api.github.com/repos/mailgun/gotools-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mailgun/gotools-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mailgun/gotools-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mailgun/gotools-api/labels{/name}","releases_url":"https://api.github.com/repos/mailgun/gotools-api/releases{/id}","created_at":"2014-02-27T18:18:37Z","updated_at":"2014-08-03T00:43:33Z","pushed_at":"2014-08-22T22:19:52Z","git_url":"git://github.com/mailgun/gotools-api.git","ssh_url":"git@github.com:mailgun/gotools-api.git","clone_url":"https://github.com/mailgun/gotools-api.git","svn_url":"https://github.com/mailgun/gotools-api","homepage":"","size":228,"stargazers_count":1,"watchers_count":1,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mailgun/gotools-api/pulls/3"},"html":{"href":"https://github.com/mailgun/gotools-api/pull/3"},"issue":{"href":"https://api.github.com/repos/mailgun/gotools-api/issues/3"},"comments":{"href":"https://api.github.com/repos/mailgun/gotools-api/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/mailgun/gotools-api/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/mailgun/gotools-api/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mailgun/gotools-api/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/mailgun/gotools-api/statuses/9e70fc2aa08c3563a9340c57414e9be82fa76b03"}}}}