{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/kobad/keyakiGo/pulls/1","id":92289777,"html_url":"https://github.com/kobad/keyakiGo/pull/1","diff_url":"https://github.com/kobad/keyakiGo/pull/1.diff","patch_url":"https://github.com/kobad/keyakiGo/pull/1.patch","issue_url":"https://api.github.com/repos/kobad/keyakiGo/issues/1","number":1,"state":"open","locked":false,"title":"main関数内でのエラーハンドリングが適切でない問題の解消","user":{"login":"lycoris0731","id":12953836,"avatar_url":"https://avatars.githubusercontent.com/u/12953836?v=3","gravatar_id":"","url":"https://api.github.com/users/lycoris0731","html_url":"https://github.com/lycoris0731","followers_url":"https://api.github.com/users/lycoris0731/followers","following_url":"https://api.github.com/users/lycoris0731/following{/other_user}","gists_url":"https://api.github.com/users/lycoris0731/gists{/gist_id}","starred_url":"https://api.github.com/users/lycoris0731/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lycoris0731/subscriptions","organizations_url":"https://api.github.com/users/lycoris0731/orgs","repos_url":"https://api.github.com/users/lycoris0731/repos","events_url":"https://api.github.com/users/lycoris0731/events{/privacy}","received_events_url":"https://api.github.com/users/lycoris0731/received_events","type":"User","site_admin":false},"body":"- goquery.NewDocument、os.Mkdirでエラーが発生した場合、スクリプトを終了していないため、以降の処理においてpanicが発生します。\r\n- saveIMGでエラーが発生した場合、その関数内で終了処理を行っていたが、統一性を持たせるためにエラーを返すように変更し、mainで終了するようにしました。\r\n- `go fmt` を適用しました。","created_at":"2016-11-04T06:26:18Z","updated_at":"2016-11-04T06:26:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/kobad/keyakiGo/pulls/1/commits","review_comments_url":"https://api.github.com/repos/kobad/keyakiGo/pulls/1/comments","review_comment_url":"https://api.github.com/repos/kobad/keyakiGo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kobad/keyakiGo/issues/1/comments","statuses_url":"https://api.github.com/repos/kobad/keyakiGo/statuses/00e63ca561689522562c83728c1b9ab8ee7618ce","head":{"label":"lycoris0731:master","ref":"master","sha":"00e63ca561689522562c83728c1b9ab8ee7618ce","user":{"login":"lycoris0731","id":12953836,"avatar_url":"https://avatars.githubusercontent.com/u/12953836?v=3","gravatar_id":"","url":"https://api.github.com/users/lycoris0731","html_url":"https://github.com/lycoris0731","followers_url":"https://api.github.com/users/lycoris0731/followers","following_url":"https://api.github.com/users/lycoris0731/following{/other_user}","gists_url":"https://api.github.com/users/lycoris0731/gists{/gist_id}","starred_url":"https://api.github.com/users/lycoris0731/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lycoris0731/subscriptions","organizations_url":"https://api.github.com/users/lycoris0731/orgs","repos_url":"https://api.github.com/users/lycoris0731/repos","events_url":"https://api.github.com/users/lycoris0731/events{/privacy}","received_events_url":"https://api.github.com/users/lycoris0731/received_events","type":"User","site_admin":false},"repo":{"id":72818951,"name":"keyakiGo","full_name":"lycoris0731/keyakiGo","owner":{"login":"lycoris0731","id":12953836,"avatar_url":"https://avatars.githubusercontent.com/u/12953836?v=3","gravatar_id":"","url":"https://api.github.com/users/lycoris0731","html_url":"https://github.com/lycoris0731","followers_url":"https://api.github.com/users/lycoris0731/followers","following_url":"https://api.github.com/users/lycoris0731/following{/other_user}","gists_url":"https://api.github.com/users/lycoris0731/gists{/gist_id}","starred_url":"https://api.github.com/users/lycoris0731/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lycoris0731/subscriptions","organizations_url":"https://api.github.com/users/lycoris0731/orgs","repos_url":"https://api.github.com/users/lycoris0731/repos","events_url":"https://api.github.com/users/lycoris0731/events{/privacy}","received_events_url":"https://api.github.com/users/lycoris0731/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lycoris0731/keyakiGo","description":null,"fork":true,"url":"https://api.github.com/repos/lycoris0731/keyakiGo","forks_url":"https://api.github.com/repos/lycoris0731/keyakiGo/forks","keys_url":"https://api.github.com/repos/lycoris0731/keyakiGo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lycoris0731/keyakiGo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lycoris0731/keyakiGo/teams","hooks_url":"https://api.github.com/repos/lycoris0731/keyakiGo/hooks","issue_events_url":"https://api.github.com/repos/lycoris0731/keyakiGo/issues/events{/number}","events_url":"https://api.github.com/repos/lycoris0731/keyakiGo/events","assignees_url":"https://api.github.com/repos/lycoris0731/keyakiGo/assignees{/user}","branches_url":"https://api.github.com/repos/lycoris0731/keyakiGo/branches{/branch}","tags_url":"https://api.github.com/repos/lycoris0731/keyakiGo/tags","blobs_url":"https://api.github.com/repos/lycoris0731/keyakiGo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lycoris0731/keyakiGo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lycoris0731/keyakiGo/git/refs{/sha}","trees_url":"https://api.github.com/repos/lycoris0731/keyakiGo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lycoris0731/keyakiGo/statuses/{sha}","languages_url":"https://api.github.com/repos/lycoris0731/keyakiGo/languages","stargazers_url":"https://api.github.com/repos/lycoris0731/keyakiGo/stargazers","contributors_url":"https://api.github.com/repos/lycoris0731/keyakiGo/contributors","subscribers_url":"https://api.github.com/repos/lycoris0731/keyakiGo/subscribers","subscription_url":"https://api.github.com/repos/lycoris0731/keyakiGo/subscription","commits_url":"https://api.github.com/repos/lycoris0731/keyakiGo/commits{/sha}","git_commits_url":"https://api.github.com/repos/lycoris0731/keyakiGo/git/commits{/sha}","comments_url":"https://api.github.com/repos/lycoris0731/keyakiGo/comments{/number}","issue_comment_url":"https://api.github.com/repos/lycoris0731/keyakiGo/issues/comments{/number}","contents_url":"https://api.github.com/repos/lycoris0731/keyakiGo/contents/{+path}","compare_url":"https://api.github.com/repos/lycoris0731/keyakiGo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lycoris0731/keyakiGo/merges","archive_url":"https://api.github.com/repos/lycoris0731/keyakiGo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lycoris0731/keyakiGo/downloads","issues_url":"https://api.github.com/repos/lycoris0731/keyakiGo/issues{/number}","pulls_url":"https://api.github.com/repos/lycoris0731/keyakiGo/pulls{/number}","milestones_url":"https://api.github.com/repos/lycoris0731/keyakiGo/milestones{/number}","notifications_url":"https://api.github.com/repos/lycoris0731/keyakiGo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lycoris0731/keyakiGo/labels{/name}","releases_url":"https://api.github.com/repos/lycoris0731/keyakiGo/releases{/id}","deployments_url":"https://api.github.com/repos/lycoris0731/keyakiGo/deployments","created_at":"2016-11-04T06:03:21Z","updated_at":"2016-11-04T06:03:22Z","pushed_at":"2016-11-04T06:15:21Z","git_url":"git://github.com/lycoris0731/keyakiGo.git","ssh_url":"git@github.com:lycoris0731/keyakiGo.git","clone_url":"https://github.com/lycoris0731/keyakiGo.git","svn_url":"https://github.com/lycoris0731/keyakiGo","homepage":null,"size":3,"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":"kobad:master","ref":"master","sha":"de795fa45ea9be8d8cdded96ecb63735240b3e4d","user":{"login":"kobad","id":12544631,"avatar_url":"https://avatars.githubusercontent.com/u/12544631?v=3","gravatar_id":"","url":"https://api.github.com/users/kobad","html_url":"https://github.com/kobad","followers_url":"https://api.github.com/users/kobad/followers","following_url":"https://api.github.com/users/kobad/following{/other_user}","gists_url":"https://api.github.com/users/kobad/gists{/gist_id}","starred_url":"https://api.github.com/users/kobad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kobad/subscriptions","organizations_url":"https://api.github.com/users/kobad/orgs","repos_url":"https://api.github.com/users/kobad/repos","events_url":"https://api.github.com/users/kobad/events{/privacy}","received_events_url":"https://api.github.com/users/kobad/received_events","type":"User","site_admin":false},"repo":{"id":72646706,"name":"keyakiGo","full_name":"kobad/keyakiGo","owner":{"login":"kobad","id":12544631,"avatar_url":"https://avatars.githubusercontent.com/u/12544631?v=3","gravatar_id":"","url":"https://api.github.com/users/kobad","html_url":"https://github.com/kobad","followers_url":"https://api.github.com/users/kobad/followers","following_url":"https://api.github.com/users/kobad/following{/other_user}","gists_url":"https://api.github.com/users/kobad/gists{/gist_id}","starred_url":"https://api.github.com/users/kobad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kobad/subscriptions","organizations_url":"https://api.github.com/users/kobad/orgs","repos_url":"https://api.github.com/users/kobad/repos","events_url":"https://api.github.com/users/kobad/events{/privacy}","received_events_url":"https://api.github.com/users/kobad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kobad/keyakiGo","description":null,"fork":false,"url":"https://api.github.com/repos/kobad/keyakiGo","forks_url":"https://api.github.com/repos/kobad/keyakiGo/forks","keys_url":"https://api.github.com/repos/kobad/keyakiGo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kobad/keyakiGo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kobad/keyakiGo/teams","hooks_url":"https://api.github.com/repos/kobad/keyakiGo/hooks","issue_events_url":"https://api.github.com/repos/kobad/keyakiGo/issues/events{/number}","events_url":"https://api.github.com/repos/kobad/keyakiGo/events","assignees_url":"https://api.github.com/repos/kobad/keyakiGo/assignees{/user}","branches_url":"https://api.github.com/repos/kobad/keyakiGo/branches{/branch}","tags_url":"https://api.github.com/repos/kobad/keyakiGo/tags","blobs_url":"https://api.github.com/repos/kobad/keyakiGo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kobad/keyakiGo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kobad/keyakiGo/git/refs{/sha}","trees_url":"https://api.github.com/repos/kobad/keyakiGo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kobad/keyakiGo/statuses/{sha}","languages_url":"https://api.github.com/repos/kobad/keyakiGo/languages","stargazers_url":"https://api.github.com/repos/kobad/keyakiGo/stargazers","contributors_url":"https://api.github.com/repos/kobad/keyakiGo/contributors","subscribers_url":"https://api.github.com/repos/kobad/keyakiGo/subscribers","subscription_url":"https://api.github.com/repos/kobad/keyakiGo/subscription","commits_url":"https://api.github.com/repos/kobad/keyakiGo/commits{/sha}","git_commits_url":"https://api.github.com/repos/kobad/keyakiGo/git/commits{/sha}","comments_url":"https://api.github.com/repos/kobad/keyakiGo/comments{/number}","issue_comment_url":"https://api.github.com/repos/kobad/keyakiGo/issues/comments{/number}","contents_url":"https://api.github.com/repos/kobad/keyakiGo/contents/{+path}","compare_url":"https://api.github.com/repos/kobad/keyakiGo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kobad/keyakiGo/merges","archive_url":"https://api.github.com/repos/kobad/keyakiGo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kobad/keyakiGo/downloads","issues_url":"https://api.github.com/repos/kobad/keyakiGo/issues{/number}","pulls_url":"https://api.github.com/repos/kobad/keyakiGo/pulls{/number}","milestones_url":"https://api.github.com/repos/kobad/keyakiGo/milestones{/number}","notifications_url":"https://api.github.com/repos/kobad/keyakiGo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kobad/keyakiGo/labels{/name}","releases_url":"https://api.github.com/repos/kobad/keyakiGo/releases{/id}","deployments_url":"https://api.github.com/repos/kobad/keyakiGo/deployments","created_at":"2016-11-02T14:16:17Z","updated_at":"2016-11-02T18:20:39Z","pushed_at":"2016-11-03T09:43:45Z","git_url":"git://github.com/kobad/keyakiGo.git","ssh_url":"git@github.com:kobad/keyakiGo.git","clone_url":"https://github.com/kobad/keyakiGo.git","svn_url":"https://github.com/kobad/keyakiGo","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kobad/keyakiGo/pulls/1"},"html":{"href":"https://github.com/kobad/keyakiGo/pull/1"},"issue":{"href":"https://api.github.com/repos/kobad/keyakiGo/issues/1"},"comments":{"href":"https://api.github.com/repos/kobad/keyakiGo/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/kobad/keyakiGo/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/kobad/keyakiGo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kobad/keyakiGo/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/kobad/keyakiGo/statuses/00e63ca561689522562c83728c1b9ab8ee7618ce"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":7,"changed_files":1}}
{"actor":{"display_login":"lycoris0731"}}