{"action":"created","comment":{"url":"https://api.github.com/repos/almighty/almighty-core/pulls/comments/91087785","pull_request_review_id":11597497,"id":91087785,"diff_hunk":"@@ -7,9 +7,9 @@ import (\n \t\"io\"\n \t\"net/http\"\n \n-\t\"github.com/almighty/almighty-core/models\"\n+\t\"github.com/almighty/almighty-core/errors\"\n \t\"github.com/goadesign/goa\"\n-\t\"github.com/pkg/errors\"\n+\tgoaerrors \"github.com/pkg/errors\"","path":"jsonapi/error_handler.go","position":8,"original_position":8,"commit_id":"560d6c4e4b850f8243b2cab69241c3688be39861","original_commit_id":"cc219b677cb5384ca9125b9f6143ceaf8572114b","user":{"login":"kwk","id":193408,"avatar_url":"https://avatars.githubusercontent.com/u/193408?v=3","gravatar_id":"","url":"https://api.github.com/users/kwk","html_url":"https://github.com/kwk","followers_url":"https://api.github.com/users/kwk/followers","following_url":"https://api.github.com/users/kwk/following{/other_user}","gists_url":"https://api.github.com/users/kwk/gists{/gist_id}","starred_url":"https://api.github.com/users/kwk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwk/subscriptions","organizations_url":"https://api.github.com/users/kwk/orgs","repos_url":"https://api.github.com/users/kwk/repos","events_url":"https://api.github.com/users/kwk/events{/privacy}","received_events_url":"https://api.github.com/users/kwk/received_events","type":"User","site_admin":false},"body":"Fixed in 560d6c4\r\n","created_at":"2016-12-06T14:29:38Z","updated_at":"2016-12-06T14:29:38Z","html_url":"https://github.com/almighty/almighty-core/pull/553#discussion_r91087785","pull_request_url":"https://api.github.com/repos/almighty/almighty-core/pulls/553","_links":{"self":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/comments/91087785"},"html":{"href":"https://github.com/almighty/almighty-core/pull/553#discussion_r91087785"},"pull_request":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/553"}}},"pull_request":{"url":"https://api.github.com/repos/almighty/almighty-core/pulls/553","id":96730280,"html_url":"https://github.com/almighty/almighty-core/pull/553","diff_url":"https://github.com/almighty/almighty-core/pull/553.diff","patch_url":"https://github.com/almighty/almighty-core/pull/553.patch","issue_url":"https://api.github.com/repos/almighty/almighty-core/issues/553","number":553,"state":"open","locked":false,"title":"Outsource errors from \"models\" package into its own \"errors\" package and use it.","user":{"login":"kwk","id":193408,"avatar_url":"https://avatars.githubusercontent.com/u/193408?v=3","gravatar_id":"","url":"https://api.github.com/users/kwk","html_url":"https://github.com/kwk","followers_url":"https://api.github.com/users/kwk/followers","following_url":"https://api.github.com/users/kwk/following{/other_user}","gists_url":"https://api.github.com/users/kwk/gists{/gist_id}","starred_url":"https://api.github.com/users/kwk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwk/subscriptions","organizations_url":"https://api.github.com/users/kwk/orgs","repos_url":"https://api.github.com/users/kwk/repos","events_url":"https://api.github.com/users/kwk/events{/privacy}","received_events_url":"https://api.github.com/users/kwk/received_events","type":"User","site_admin":false},"body":"This allows for packages to use errors without causing a cyclic import.\r\n\r\n@aslakknutsen @tsmaeder please review! Thx.","created_at":"2016-12-06T14:08:56Z","updated_at":"2016-12-06T14:29:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9125e59ac774882e2b94a36f0bb5e9049a108a6","assignee":{"login":"aslakknutsen","id":132158,"avatar_url":"https://avatars.githubusercontent.com/u/132158?v=3","gravatar_id":"","url":"https://api.github.com/users/aslakknutsen","html_url":"https://github.com/aslakknutsen","followers_url":"https://api.github.com/users/aslakknutsen/followers","following_url":"https://api.github.com/users/aslakknutsen/following{/other_user}","gists_url":"https://api.github.com/users/aslakknutsen/gists{/gist_id}","starred_url":"https://api.github.com/users/aslakknutsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aslakknutsen/subscriptions","organizations_url":"https://api.github.com/users/aslakknutsen/orgs","repos_url":"https://api.github.com/users/aslakknutsen/repos","events_url":"https://api.github.com/users/aslakknutsen/events{/privacy}","received_events_url":"https://api.github.com/users/aslakknutsen/received_events","type":"User","site_admin":false},"assignees":[{"login":"aslakknutsen","id":132158,"avatar_url":"https://avatars.githubusercontent.com/u/132158?v=3","gravatar_id":"","url":"https://api.github.com/users/aslakknutsen","html_url":"https://github.com/aslakknutsen","followers_url":"https://api.github.com/users/aslakknutsen/followers","following_url":"https://api.github.com/users/aslakknutsen/following{/other_user}","gists_url":"https://api.github.com/users/aslakknutsen/gists{/gist_id}","starred_url":"https://api.github.com/users/aslakknutsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aslakknutsen/subscriptions","organizations_url":"https://api.github.com/users/aslakknutsen/orgs","repos_url":"https://api.github.com/users/aslakknutsen/repos","events_url":"https://api.github.com/users/aslakknutsen/events{/privacy}","received_events_url":"https://api.github.com/users/aslakknutsen/received_events","type":"User","site_admin":false},{"login":"tsmaeder","id":13163770,"avatar_url":"https://avatars.githubusercontent.com/u/13163770?v=3","gravatar_id":"","url":"https://api.github.com/users/tsmaeder","html_url":"https://github.com/tsmaeder","followers_url":"https://api.github.com/users/tsmaeder/followers","following_url":"https://api.github.com/users/tsmaeder/following{/other_user}","gists_url":"https://api.github.com/users/tsmaeder/gists{/gist_id}","starred_url":"https://api.github.com/users/tsmaeder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsmaeder/subscriptions","organizations_url":"https://api.github.com/users/tsmaeder/orgs","repos_url":"https://api.github.com/users/tsmaeder/repos","events_url":"https://api.github.com/users/tsmaeder/events{/privacy}","received_events_url":"https://api.github.com/users/tsmaeder/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/almighty/almighty-core/pulls/553/commits","review_comments_url":"https://api.github.com/repos/almighty/almighty-core/pulls/553/comments","review_comment_url":"https://api.github.com/repos/almighty/almighty-core/pulls/comments{/number}","comments_url":"https://api.github.com/repos/almighty/almighty-core/issues/553/comments","statuses_url":"https://api.github.com/repos/almighty/almighty-core/statuses/560d6c4e4b850f8243b2cab69241c3688be39861","head":{"label":"kwk:outsource-errors","ref":"outsource-errors","sha":"560d6c4e4b850f8243b2cab69241c3688be39861","user":{"login":"kwk","id":193408,"avatar_url":"https://avatars.githubusercontent.com/u/193408?v=3","gravatar_id":"","url":"https://api.github.com/users/kwk","html_url":"https://github.com/kwk","followers_url":"https://api.github.com/users/kwk/followers","following_url":"https://api.github.com/users/kwk/following{/other_user}","gists_url":"https://api.github.com/users/kwk/gists{/gist_id}","starred_url":"https://api.github.com/users/kwk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwk/subscriptions","organizations_url":"https://api.github.com/users/kwk/orgs","repos_url":"https://api.github.com/users/kwk/repos","events_url":"https://api.github.com/users/kwk/events{/privacy}","received_events_url":"https://api.github.com/users/kwk/received_events","type":"User","site_admin":false},"repo":{"id":61216531,"name":"almighty-core","full_name":"kwk/almighty-core","owner":{"login":"kwk","id":193408,"avatar_url":"https://avatars.githubusercontent.com/u/193408?v=3","gravatar_id":"","url":"https://api.github.com/users/kwk","html_url":"https://github.com/kwk","followers_url":"https://api.github.com/users/kwk/followers","following_url":"https://api.github.com/users/kwk/following{/other_user}","gists_url":"https://api.github.com/users/kwk/gists{/gist_id}","starred_url":"https://api.github.com/users/kwk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwk/subscriptions","organizations_url":"https://api.github.com/users/kwk/orgs","repos_url":"https://api.github.com/users/kwk/repos","events_url":"https://api.github.com/users/kwk/events{/privacy}","received_events_url":"https://api.github.com/users/kwk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kwk/almighty-core","description":null,"fork":true,"url":"https://api.github.com/repos/kwk/almighty-core","forks_url":"https://api.github.com/repos/kwk/almighty-core/forks","keys_url":"https://api.github.com/repos/kwk/almighty-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kwk/almighty-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kwk/almighty-core/teams","hooks_url":"https://api.github.com/repos/kwk/almighty-core/hooks","issue_events_url":"https://api.github.com/repos/kwk/almighty-core/issues/events{/number}","events_url":"https://api.github.com/repos/kwk/almighty-core/events","assignees_url":"https://api.github.com/repos/kwk/almighty-core/assignees{/user}","branches_url":"https://api.github.com/repos/kwk/almighty-core/branches{/branch}","tags_url":"https://api.github.com/repos/kwk/almighty-core/tags","blobs_url":"https://api.github.com/repos/kwk/almighty-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kwk/almighty-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kwk/almighty-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/kwk/almighty-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kwk/almighty-core/statuses/{sha}","languages_url":"https://api.github.com/repos/kwk/almighty-core/languages","stargazers_url":"https://api.github.com/repos/kwk/almighty-core/stargazers","contributors_url":"https://api.github.com/repos/kwk/almighty-core/contributors","subscribers_url":"https://api.github.com/repos/kwk/almighty-core/subscribers","subscription_url":"https://api.github.com/repos/kwk/almighty-core/subscription","commits_url":"https://api.github.com/repos/kwk/almighty-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/kwk/almighty-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/kwk/almighty-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/kwk/almighty-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/kwk/almighty-core/contents/{+path}","compare_url":"https://api.github.com/repos/kwk/almighty-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kwk/almighty-core/merges","archive_url":"https://api.github.com/repos/kwk/almighty-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kwk/almighty-core/downloads","issues_url":"https://api.github.com/repos/kwk/almighty-core/issues{/number}","pulls_url":"https://api.github.com/repos/kwk/almighty-core/pulls{/number}","milestones_url":"https://api.github.com/repos/kwk/almighty-core/milestones{/number}","notifications_url":"https://api.github.com/repos/kwk/almighty-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kwk/almighty-core/labels{/name}","releases_url":"https://api.github.com/repos/kwk/almighty-core/releases{/id}","deployments_url":"https://api.github.com/repos/kwk/almighty-core/deployments","created_at":"2016-06-15T14:55:29Z","updated_at":"2016-06-15T14:55:30Z","pushed_at":"2016-12-06T14:29:22Z","git_url":"git://github.com/kwk/almighty-core.git","ssh_url":"git@github.com:kwk/almighty-core.git","clone_url":"https://github.com/kwk/almighty-core.git","svn_url":"https://github.com/kwk/almighty-core","homepage":null,"size":1058,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"almighty:master","ref":"master","sha":"843a11ae8e4b1b7443a0793ab000898274a1c975","user":{"login":"almighty","id":17783151,"avatar_url":"https://avatars.githubusercontent.com/u/17783151?v=3","gravatar_id":"","url":"https://api.github.com/users/almighty","html_url":"https://github.com/almighty","followers_url":"https://api.github.com/users/almighty/followers","following_url":"https://api.github.com/users/almighty/following{/other_user}","gists_url":"https://api.github.com/users/almighty/gists{/gist_id}","starred_url":"https://api.github.com/users/almighty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almighty/subscriptions","organizations_url":"https://api.github.com/users/almighty/orgs","repos_url":"https://api.github.com/users/almighty/repos","events_url":"https://api.github.com/users/almighty/events{/privacy}","received_events_url":"https://api.github.com/users/almighty/received_events","type":"Organization","site_admin":false},"repo":{"id":54260706,"name":"almighty-core","full_name":"almighty/almighty-core","owner":{"login":"almighty","id":17783151,"avatar_url":"https://avatars.githubusercontent.com/u/17783151?v=3","gravatar_id":"","url":"https://api.github.com/users/almighty","html_url":"https://github.com/almighty","followers_url":"https://api.github.com/users/almighty/followers","following_url":"https://api.github.com/users/almighty/following{/other_user}","gists_url":"https://api.github.com/users/almighty/gists{/gist_id}","starred_url":"https://api.github.com/users/almighty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almighty/subscriptions","organizations_url":"https://api.github.com/users/almighty/orgs","repos_url":"https://api.github.com/users/almighty/repos","events_url":"https://api.github.com/users/almighty/events{/privacy}","received_events_url":"https://api.github.com/users/almighty/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/almighty/almighty-core","description":null,"fork":false,"url":"https://api.github.com/repos/almighty/almighty-core","forks_url":"https://api.github.com/repos/almighty/almighty-core/forks","keys_url":"https://api.github.com/repos/almighty/almighty-core/keys{/key_id}","collaborators_url":"https://api.github.com/repos/almighty/almighty-core/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/almighty/almighty-core/teams","hooks_url":"https://api.github.com/repos/almighty/almighty-core/hooks","issue_events_url":"https://api.github.com/repos/almighty/almighty-core/issues/events{/number}","events_url":"https://api.github.com/repos/almighty/almighty-core/events","assignees_url":"https://api.github.com/repos/almighty/almighty-core/assignees{/user}","branches_url":"https://api.github.com/repos/almighty/almighty-core/branches{/branch}","tags_url":"https://api.github.com/repos/almighty/almighty-core/tags","blobs_url":"https://api.github.com/repos/almighty/almighty-core/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/almighty/almighty-core/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/almighty/almighty-core/git/refs{/sha}","trees_url":"https://api.github.com/repos/almighty/almighty-core/git/trees{/sha}","statuses_url":"https://api.github.com/repos/almighty/almighty-core/statuses/{sha}","languages_url":"https://api.github.com/repos/almighty/almighty-core/languages","stargazers_url":"https://api.github.com/repos/almighty/almighty-core/stargazers","contributors_url":"https://api.github.com/repos/almighty/almighty-core/contributors","subscribers_url":"https://api.github.com/repos/almighty/almighty-core/subscribers","subscription_url":"https://api.github.com/repos/almighty/almighty-core/subscription","commits_url":"https://api.github.com/repos/almighty/almighty-core/commits{/sha}","git_commits_url":"https://api.github.com/repos/almighty/almighty-core/git/commits{/sha}","comments_url":"https://api.github.com/repos/almighty/almighty-core/comments{/number}","issue_comment_url":"https://api.github.com/repos/almighty/almighty-core/issues/comments{/number}","contents_url":"https://api.github.com/repos/almighty/almighty-core/contents/{+path}","compare_url":"https://api.github.com/repos/almighty/almighty-core/compare/{base}...{head}","merges_url":"https://api.github.com/repos/almighty/almighty-core/merges","archive_url":"https://api.github.com/repos/almighty/almighty-core/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/almighty/almighty-core/downloads","issues_url":"https://api.github.com/repos/almighty/almighty-core/issues{/number}","pulls_url":"https://api.github.com/repos/almighty/almighty-core/pulls{/number}","milestones_url":"https://api.github.com/repos/almighty/almighty-core/milestones{/number}","notifications_url":"https://api.github.com/repos/almighty/almighty-core/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/almighty/almighty-core/labels{/name}","releases_url":"https://api.github.com/repos/almighty/almighty-core/releases{/id}","deployments_url":"https://api.github.com/repos/almighty/almighty-core/deployments","created_at":"2016-03-19T10:42:15Z","updated_at":"2016-11-24T19:49:50Z","pushed_at":"2016-12-06T14:29:22Z","git_url":"git://github.com/almighty/almighty-core.git","ssh_url":"git@github.com:almighty/almighty-core.git","clone_url":"https://github.com/almighty/almighty-core.git","svn_url":"https://github.com/almighty/almighty-core","homepage":"http://devdoc.almighty.io/","size":5464,"stargazers_count":15,"watchers_count":15,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":179,"forks":33,"open_issues":179,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/553"},"html":{"href":"https://github.com/almighty/almighty-core/pull/553"},"issue":{"href":"https://api.github.com/repos/almighty/almighty-core/issues/553"},"comments":{"href":"https://api.github.com/repos/almighty/almighty-core/issues/553/comments"},"review_comments":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/553/comments"},"review_comment":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/almighty/almighty-core/pulls/553/commits"},"statuses":{"href":"https://api.github.com/repos/almighty/almighty-core/statuses/560d6c4e4b850f8243b2cab69241c3688be39861"}}}}
{"actor":{"display_login":"kwk"}}