{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/turbobytes/pulse/pulls/2","id":89503936,"html_url":"https://github.com/turbobytes/pulse/pull/2","diff_url":"https://github.com/turbobytes/pulse/pull/2.diff","patch_url":"https://github.com/turbobytes/pulse/pull/2.patch","issue_url":"https://api.github.com/repos/turbobytes/pulse/issues/2","number":2,"state":"closed","locked":false,"title":"minor cleanup","user":{"login":"jehiah","id":45028,"avatar_url":"https://avatars.githubusercontent.com/u/45028?v=3","gravatar_id":"","url":"https://api.github.com/users/jehiah","html_url":"https://github.com/jehiah","followers_url":"https://api.github.com/users/jehiah/followers","following_url":"https://api.github.com/users/jehiah/following{/other_user}","gists_url":"https://api.github.com/users/jehiah/gists{/gist_id}","starred_url":"https://api.github.com/users/jehiah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jehiah/subscriptions","organizations_url":"https://api.github.com/users/jehiah/orgs","repos_url":"https://api.github.com/users/jehiah/repos","events_url":"https://api.github.com/users/jehiah/events{/privacy}","received_events_url":"https://api.github.com/users/jehiah/received_events","type":"User","site_admin":false},"body":"@sajal here are a few minor cleanup items as I've looked through the code. I figured this would be a good way to start familiarizing myself with existing tests, etc.\n\n* unindent some logic\n* add (minor) missing error handling for ResponseCode != 200 in a few spots\n* goimport style import paths","created_at":"2016-10-15T19:39:45Z","updated_at":"2016-10-16T09:16:42Z","closed_at":"2016-10-16T09:16:42Z","merged_at":"2016-10-16T09:16:42Z","merge_commit_sha":"634e983043f8a2a4c9460fa9797053c7966c6bec","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/turbobytes/pulse/pulls/2/commits","review_comments_url":"https://api.github.com/repos/turbobytes/pulse/pulls/2/comments","review_comment_url":"https://api.github.com/repos/turbobytes/pulse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/turbobytes/pulse/issues/2/comments","statuses_url":"https://api.github.com/repos/turbobytes/pulse/statuses/cff5ea99d1ae8ba27acb000b529734caeaf9e6ac","head":{"label":"jehiah:minor_cleanup_2","ref":"minor_cleanup_2","sha":"cff5ea99d1ae8ba27acb000b529734caeaf9e6ac","user":{"login":"jehiah","id":45028,"avatar_url":"https://avatars.githubusercontent.com/u/45028?v=3","gravatar_id":"","url":"https://api.github.com/users/jehiah","html_url":"https://github.com/jehiah","followers_url":"https://api.github.com/users/jehiah/followers","following_url":"https://api.github.com/users/jehiah/following{/other_user}","gists_url":"https://api.github.com/users/jehiah/gists{/gist_id}","starred_url":"https://api.github.com/users/jehiah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jehiah/subscriptions","organizations_url":"https://api.github.com/users/jehiah/orgs","repos_url":"https://api.github.com/users/jehiah/repos","events_url":"https://api.github.com/users/jehiah/events{/privacy}","received_events_url":"https://api.github.com/users/jehiah/received_events","type":"User","site_admin":false},"repo":{"id":71007377,"name":"pulse","full_name":"jehiah/pulse","owner":{"login":"jehiah","id":45028,"avatar_url":"https://avatars.githubusercontent.com/u/45028?v=3","gravatar_id":"","url":"https://api.github.com/users/jehiah","html_url":"https://github.com/jehiah","followers_url":"https://api.github.com/users/jehiah/followers","following_url":"https://api.github.com/users/jehiah/following{/other_user}","gists_url":"https://api.github.com/users/jehiah/gists{/gist_id}","starred_url":"https://api.github.com/users/jehiah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jehiah/subscriptions","organizations_url":"https://api.github.com/users/jehiah/orgs","repos_url":"https://api.github.com/users/jehiah/repos","events_url":"https://api.github.com/users/jehiah/events{/privacy}","received_events_url":"https://api.github.com/users/jehiah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jehiah/pulse","description":"TurboBytes pulse","fork":true,"url":"https://api.github.com/repos/jehiah/pulse","forks_url":"https://api.github.com/repos/jehiah/pulse/forks","keys_url":"https://api.github.com/repos/jehiah/pulse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jehiah/pulse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jehiah/pulse/teams","hooks_url":"https://api.github.com/repos/jehiah/pulse/hooks","issue_events_url":"https://api.github.com/repos/jehiah/pulse/issues/events{/number}","events_url":"https://api.github.com/repos/jehiah/pulse/events","assignees_url":"https://api.github.com/repos/jehiah/pulse/assignees{/user}","branches_url":"https://api.github.com/repos/jehiah/pulse/branches{/branch}","tags_url":"https://api.github.com/repos/jehiah/pulse/tags","blobs_url":"https://api.github.com/repos/jehiah/pulse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jehiah/pulse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jehiah/pulse/git/refs{/sha}","trees_url":"https://api.github.com/repos/jehiah/pulse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jehiah/pulse/statuses/{sha}","languages_url":"https://api.github.com/repos/jehiah/pulse/languages","stargazers_url":"https://api.github.com/repos/jehiah/pulse/stargazers","contributors_url":"https://api.github.com/repos/jehiah/pulse/contributors","subscribers_url":"https://api.github.com/repos/jehiah/pulse/subscribers","subscription_url":"https://api.github.com/repos/jehiah/pulse/subscription","commits_url":"https://api.github.com/repos/jehiah/pulse/commits{/sha}","git_commits_url":"https://api.github.com/repos/jehiah/pulse/git/commits{/sha}","comments_url":"https://api.github.com/repos/jehiah/pulse/comments{/number}","issue_comment_url":"https://api.github.com/repos/jehiah/pulse/issues/comments{/number}","contents_url":"https://api.github.com/repos/jehiah/pulse/contents/{+path}","compare_url":"https://api.github.com/repos/jehiah/pulse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jehiah/pulse/merges","archive_url":"https://api.github.com/repos/jehiah/pulse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jehiah/pulse/downloads","issues_url":"https://api.github.com/repos/jehiah/pulse/issues{/number}","pulls_url":"https://api.github.com/repos/jehiah/pulse/pulls{/number}","milestones_url":"https://api.github.com/repos/jehiah/pulse/milestones{/number}","notifications_url":"https://api.github.com/repos/jehiah/pulse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jehiah/pulse/labels{/name}","releases_url":"https://api.github.com/repos/jehiah/pulse/releases{/id}","deployments_url":"https://api.github.com/repos/jehiah/pulse/deployments","created_at":"2016-10-15T18:58:42Z","updated_at":"2016-10-15T18:58:43Z","pushed_at":"2016-10-15T19:39:41Z","git_url":"git://github.com/jehiah/pulse.git","ssh_url":"git@github.com:jehiah/pulse.git","clone_url":"https://github.com/jehiah/pulse.git","svn_url":"https://github.com/jehiah/pulse","homepage":"https://pulse.turbobytes.com/","size":108,"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":"turbobytes:master","ref":"master","sha":"169a61ba3920816ac8372bc4e6b9935d0a4bc67c","user":{"login":"turbobytes","id":3141359,"avatar_url":"https://avatars.githubusercontent.com/u/3141359?v=3","gravatar_id":"","url":"https://api.github.com/users/turbobytes","html_url":"https://github.com/turbobytes","followers_url":"https://api.github.com/users/turbobytes/followers","following_url":"https://api.github.com/users/turbobytes/following{/other_user}","gists_url":"https://api.github.com/users/turbobytes/gists{/gist_id}","starred_url":"https://api.github.com/users/turbobytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbobytes/subscriptions","organizations_url":"https://api.github.com/users/turbobytes/orgs","repos_url":"https://api.github.com/users/turbobytes/repos","events_url":"https://api.github.com/users/turbobytes/events{/privacy}","received_events_url":"https://api.github.com/users/turbobytes/received_events","type":"Organization","site_admin":false},"repo":{"id":35290467,"name":"pulse","full_name":"turbobytes/pulse","owner":{"login":"turbobytes","id":3141359,"avatar_url":"https://avatars.githubusercontent.com/u/3141359?v=3","gravatar_id":"","url":"https://api.github.com/users/turbobytes","html_url":"https://github.com/turbobytes","followers_url":"https://api.github.com/users/turbobytes/followers","following_url":"https://api.github.com/users/turbobytes/following{/other_user}","gists_url":"https://api.github.com/users/turbobytes/gists{/gist_id}","starred_url":"https://api.github.com/users/turbobytes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbobytes/subscriptions","organizations_url":"https://api.github.com/users/turbobytes/orgs","repos_url":"https://api.github.com/users/turbobytes/repos","events_url":"https://api.github.com/users/turbobytes/events{/privacy}","received_events_url":"https://api.github.com/users/turbobytes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/turbobytes/pulse","description":"TurboBytes pulse","fork":false,"url":"https://api.github.com/repos/turbobytes/pulse","forks_url":"https://api.github.com/repos/turbobytes/pulse/forks","keys_url":"https://api.github.com/repos/turbobytes/pulse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turbobytes/pulse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turbobytes/pulse/teams","hooks_url":"https://api.github.com/repos/turbobytes/pulse/hooks","issue_events_url":"https://api.github.com/repos/turbobytes/pulse/issues/events{/number}","events_url":"https://api.github.com/repos/turbobytes/pulse/events","assignees_url":"https://api.github.com/repos/turbobytes/pulse/assignees{/user}","branches_url":"https://api.github.com/repos/turbobytes/pulse/branches{/branch}","tags_url":"https://api.github.com/repos/turbobytes/pulse/tags","blobs_url":"https://api.github.com/repos/turbobytes/pulse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turbobytes/pulse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turbobytes/pulse/git/refs{/sha}","trees_url":"https://api.github.com/repos/turbobytes/pulse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turbobytes/pulse/statuses/{sha}","languages_url":"https://api.github.com/repos/turbobytes/pulse/languages","stargazers_url":"https://api.github.com/repos/turbobytes/pulse/stargazers","contributors_url":"https://api.github.com/repos/turbobytes/pulse/contributors","subscribers_url":"https://api.github.com/repos/turbobytes/pulse/subscribers","subscription_url":"https://api.github.com/repos/turbobytes/pulse/subscription","commits_url":"https://api.github.com/repos/turbobytes/pulse/commits{/sha}","git_commits_url":"https://api.github.com/repos/turbobytes/pulse/git/commits{/sha}","comments_url":"https://api.github.com/repos/turbobytes/pulse/comments{/number}","issue_comment_url":"https://api.github.com/repos/turbobytes/pulse/issues/comments{/number}","contents_url":"https://api.github.com/repos/turbobytes/pulse/contents/{+path}","compare_url":"https://api.github.com/repos/turbobytes/pulse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turbobytes/pulse/merges","archive_url":"https://api.github.com/repos/turbobytes/pulse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turbobytes/pulse/downloads","issues_url":"https://api.github.com/repos/turbobytes/pulse/issues{/number}","pulls_url":"https://api.github.com/repos/turbobytes/pulse/pulls{/number}","milestones_url":"https://api.github.com/repos/turbobytes/pulse/milestones{/number}","notifications_url":"https://api.github.com/repos/turbobytes/pulse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turbobytes/pulse/labels{/name}","releases_url":"https://api.github.com/repos/turbobytes/pulse/releases{/id}","deployments_url":"https://api.github.com/repos/turbobytes/pulse/deployments","created_at":"2015-05-08T16:44:09Z","updated_at":"2016-05-07T06:45:49Z","pushed_at":"2016-10-16T09:16:42Z","git_url":"git://github.com/turbobytes/pulse.git","ssh_url":"git@github.com:turbobytes/pulse.git","clone_url":"https://github.com/turbobytes/pulse.git","svn_url":"https://github.com/turbobytes/pulse","homepage":"https://pulse.turbobytes.com/","size":110,"stargazers_count":27,"watchers_count":27,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/turbobytes/pulse/pulls/2"},"html":{"href":"https://github.com/turbobytes/pulse/pull/2"},"issue":{"href":"https://api.github.com/repos/turbobytes/pulse/issues/2"},"comments":{"href":"https://api.github.com/repos/turbobytes/pulse/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/turbobytes/pulse/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/turbobytes/pulse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/turbobytes/pulse/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/turbobytes/pulse/statuses/cff5ea99d1ae8ba27acb000b529734caeaf9e6ac"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"sajal","id":25007,"avatar_url":"https://avatars.githubusercontent.com/u/25007?v=3","gravatar_id":"","url":"https://api.github.com/users/sajal","html_url":"https://github.com/sajal","followers_url":"https://api.github.com/users/sajal/followers","following_url":"https://api.github.com/users/sajal/following{/other_user}","gists_url":"https://api.github.com/users/sajal/gists{/gist_id}","starred_url":"https://api.github.com/users/sajal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajal/subscriptions","organizations_url":"https://api.github.com/users/sajal/orgs","repos_url":"https://api.github.com/users/sajal/repos","events_url":"https://api.github.com/users/sajal/events{/privacy}","received_events_url":"https://api.github.com/users/sajal/received_events","type":"User","site_admin":false},"comments":1,"review_comments":1,"commits":2,"additions":61,"deletions":65,"changed_files":7}}
{"actor":{"display_login":"sajal"}}