{"action":"created","comment":{"url":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls/comments/92309487","pull_request_review_id":12821994,"id":92309487,"diff_hunk":"@@ -0,0 +1,98 @@\n+package main\n+\n+import (\n+\t\"fmt\"\n+\t\"io\"\n+\t\"io/ioutil\"\n+\t\"os\"\n+)\n+\n+func zFoo(arg string) int {\n+\treturn 1\n+\treturn 1\n+}\n+\n+func complexFunc5(r io.Reader) error {\n+\tb, err := ioutil.ReadAll(r)\n+\tb, err = ioutil.ReadAll(r)\n+\tr.Read([]byte{})\n+\tif err != nil {\n+\t\treturn err\n+\t}\n+\ta := 0\n+\tc := make(chan string, 0)\n+\tfor a == 1 {\n+\t\tselect {\n+\t\tcase <-c:\n+\t\tdefault:\n+\t\t\tswitch a {\n+\t\t\tcase 1:\n+\t\t\t\tfmt.Println(\"hoge\")\n+\t\t\tcase 0:\n+\t\t\t\tfmt.Printf(\"hoge\\n\")\n+\t\t\tdefault:\n+\t\t\t\tos.Stdout.Write(b)\n+\t\t\tcase 2:\n+\t\t\t\tif a == 4 {\n+\t\t\t\t\tif len(b) != 0 {\n+\t\t\t\t\t\tpanic(\"panic!\")\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t\treturn nil\n+\t\t\t}\n+\n+\t\t}\n+\t}\n+\n+\treturn nil\n+}\n+\n+func ComplexFunc3(r io.Reader) error {","path":"dirty2.go","position":50,"original_position":50,"commit_id":"8e525463678bf5b53905a667d851d221a53d7704","original_commit_id":"8e525463678bf5b53905a667d851d221a53d7704","user":{"login":"sweep3092","id":5488453,"avatar_url":"https://avatars.githubusercontent.com/u/5488453?v=3","gravatar_id":"","url":"https://api.github.com/users/sweep3092","html_url":"https://github.com/sweep3092","followers_url":"https://api.github.com/users/sweep3092/followers","following_url":"https://api.github.com/users/sweep3092/following{/other_user}","gists_url":"https://api.github.com/users/sweep3092/gists{/gist_id}","starred_url":"https://api.github.com/users/sweep3092/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sweep3092/subscriptions","organizations_url":"https://api.github.com/users/sweep3092/orgs","repos_url":"https://api.github.com/users/sweep3092/repos","events_url":"https://api.github.com/users/sweep3092/events{/privacy}","received_events_url":"https://api.github.com/users/sweep3092/received_events","type":"User","site_admin":false},"body":"__[staging][golint]__\n* [golint] exported function ComplexFunc3 should have comment or be unexported\n\n<!-- Comment by [SideCI](https://sideci.com) -->","created_at":"2016-12-14T02:00:43Z","updated_at":"2016-12-14T02:00:43Z","html_url":"https://github.com/actcat/sideci_go_sandbox/pull/5#discussion_r92309487","pull_request_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls/comments/92309487"},"html":{"href":"https://github.com/actcat/sideci_go_sandbox/pull/5#discussion_r92309487"},"pull_request":{"href":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls/5","id":97873833,"html_url":"https://github.com/actcat/sideci_go_sandbox/pull/5","diff_url":"https://github.com/actcat/sideci_go_sandbox/pull/5.diff","patch_url":"https://github.com/actcat/sideci_go_sandbox/pull/5.patch","issue_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/issues/5","number":5,"state":"open","locked":false,"title":"Release 2016-12-14 11:00:32","user":{"login":"actcat-bot","id":8168144,"avatar_url":"https://avatars.githubusercontent.com/u/8168144?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat-bot","html_url":"https://github.com/actcat-bot","followers_url":"https://api.github.com/users/actcat-bot/followers","following_url":"https://api.github.com/users/actcat-bot/following{/other_user}","gists_url":"https://api.github.com/users/actcat-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat-bot/subscriptions","organizations_url":"https://api.github.com/users/actcat-bot/orgs","repos_url":"https://api.github.com/users/actcat-bot/repos","events_url":"https://api.github.com/users/actcat-bot/events{/privacy}","received_events_url":"https://api.github.com/users/actcat-bot/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-14T02:00:32Z","updated_at":"2016-12-14T02:00:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a34ce70aaf374f9b3f069dc737dd54734b98c119","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls/5/commits","review_comments_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls/5/comments","review_comment_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/issues/5/comments","statuses_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/statuses/8e525463678bf5b53905a667d851d221a53d7704","head":{"label":"actcat:release_check_20161214110032","ref":"release_check_20161214110032","sha":"8e525463678bf5b53905a667d851d221a53d7704","user":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"repo":{"id":48675768,"name":"sideci_go_sandbox","full_name":"actcat/sideci_go_sandbox","owner":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/actcat/sideci_go_sandbox","description":null,"fork":false,"url":"https://api.github.com/repos/actcat/sideci_go_sandbox","forks_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/forks","keys_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/teams","hooks_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/hooks","issue_events_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/events","assignees_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/tags","blobs_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/languages","stargazers_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/stargazers","contributors_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/contributors","subscribers_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/subscribers","subscription_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/subscription","commits_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/merges","archive_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/downloads","issues_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/labels{/name}","releases_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/deployments","created_at":"2015-12-28T05:35:09Z","updated_at":"2015-12-28T06:36:09Z","pushed_at":"2016-12-14T02:00:32Z","git_url":"git://github.com/actcat/sideci_go_sandbox.git","ssh_url":"git@github.com:actcat/sideci_go_sandbox.git","clone_url":"https://github.com/actcat/sideci_go_sandbox.git","svn_url":"https://github.com/actcat/sideci_go_sandbox","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"actcat:master","ref":"master","sha":"1fc9d43ec64e0a2e2a16d886ff62ce37808aeab0","user":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"repo":{"id":48675768,"name":"sideci_go_sandbox","full_name":"actcat/sideci_go_sandbox","owner":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/actcat/sideci_go_sandbox","description":null,"fork":false,"url":"https://api.github.com/repos/actcat/sideci_go_sandbox","forks_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/forks","keys_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/teams","hooks_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/hooks","issue_events_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/events","assignees_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/tags","blobs_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/languages","stargazers_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/stargazers","contributors_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/contributors","subscribers_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/subscribers","subscription_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/subscription","commits_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/merges","archive_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/downloads","issues_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/labels{/name}","releases_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/actcat/sideci_go_sandbox/deployments","created_at":"2015-12-28T05:35:09Z","updated_at":"2015-12-28T06:36:09Z","pushed_at":"2016-12-14T02:00:32Z","git_url":"git://github.com/actcat/sideci_go_sandbox.git","ssh_url":"git@github.com:actcat/sideci_go_sandbox.git","clone_url":"https://github.com/actcat/sideci_go_sandbox.git","svn_url":"https://github.com/actcat/sideci_go_sandbox","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls/5"},"html":{"href":"https://github.com/actcat/sideci_go_sandbox/pull/5"},"issue":{"href":"https://api.github.com/repos/actcat/sideci_go_sandbox/issues/5"},"comments":{"href":"https://api.github.com/repos/actcat/sideci_go_sandbox/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/actcat/sideci_go_sandbox/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/actcat/sideci_go_sandbox/statuses/8e525463678bf5b53905a667d851d221a53d7704"}}}}
{"actor":{"display_login":"sweep3092"}}