{"action":"opened","number":101,"pull_request":{"url":"https://api.github.com/repos/PieselBois/kfulint/pulls/101","id":189203959,"html_url":"https://github.com/PieselBois/kfulint/pull/101","diff_url":"https://github.com/PieselBois/kfulint/pull/101.diff","patch_url":"https://github.com/PieselBois/kfulint/pull/101.patch","issue_url":"https://api.github.com/repos/PieselBois/kfulint/issues/101","number":101,"state":"open","locked":false,"title":"lint: add switch -> if suggestions for 1-case statements","user":{"login":"weeellz","id":14861683,"avatar_url":"https://avatars2.githubusercontent.com/u/14861683?v=4","gravatar_id":"","url":"https://api.github.com/users/weeellz","html_url":"https://github.com/weeellz","followers_url":"https://api.github.com/users/weeellz/followers","following_url":"https://api.github.com/users/weeellz/following{/other_user}","gists_url":"https://api.github.com/users/weeellz/gists{/gist_id}","starred_url":"https://api.github.com/users/weeellz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weeellz/subscriptions","organizations_url":"https://api.github.com/users/weeellz/orgs","repos_url":"https://api.github.com/users/weeellz/repos","events_url":"https://api.github.com/users/weeellz/events{/privacy}","received_events_url":"https://api.github.com/users/weeellz/received_events","type":"User","site_admin":false},"body":"Works for all kind of switch.","created_at":"2018-05-19T19:52:17Z","updated_at":"2018-05-19T19:52:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PieselBois/kfulint/pulls/101/commits","review_comments_url":"https://api.github.com/repos/PieselBois/kfulint/pulls/101/comments","review_comment_url":"https://api.github.com/repos/PieselBois/kfulint/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PieselBois/kfulint/issues/101/comments","statuses_url":"https://api.github.com/repos/PieselBois/kfulint/statuses/229a1e65c38ead912e825b319fbb845f29bc4021","head":{"label":"PieselBois:weeellz/switchif_checker","ref":"weeellz/switchif_checker","sha":"229a1e65c38ead912e825b319fbb845f29bc4021","user":{"login":"PieselBois","id":36415830,"avatar_url":"https://avatars3.githubusercontent.com/u/36415830?v=4","gravatar_id":"","url":"https://api.github.com/users/PieselBois","html_url":"https://github.com/PieselBois","followers_url":"https://api.github.com/users/PieselBois/followers","following_url":"https://api.github.com/users/PieselBois/following{/other_user}","gists_url":"https://api.github.com/users/PieselBois/gists{/gist_id}","starred_url":"https://api.github.com/users/PieselBois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PieselBois/subscriptions","organizations_url":"https://api.github.com/users/PieselBois/orgs","repos_url":"https://api.github.com/users/PieselBois/repos","events_url":"https://api.github.com/users/PieselBois/events{/privacy}","received_events_url":"https://api.github.com/users/PieselBois/received_events","type":"Organization","site_admin":false},"repo":{"id":132232698,"name":"kfulint","full_name":"PieselBois/kfulint","owner":{"login":"PieselBois","id":36415830,"avatar_url":"https://avatars3.githubusercontent.com/u/36415830?v=4","gravatar_id":"","url":"https://api.github.com/users/PieselBois","html_url":"https://github.com/PieselBois","followers_url":"https://api.github.com/users/PieselBois/followers","following_url":"https://api.github.com/users/PieselBois/following{/other_user}","gists_url":"https://api.github.com/users/PieselBois/gists{/gist_id}","starred_url":"https://api.github.com/users/PieselBois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PieselBois/subscriptions","organizations_url":"https://api.github.com/users/PieselBois/orgs","repos_url":"https://api.github.com/users/PieselBois/repos","events_url":"https://api.github.com/users/PieselBois/events{/privacy}","received_events_url":"https://api.github.com/users/PieselBois/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PieselBois/kfulint","description":"Go source code linter.","fork":false,"url":"https://api.github.com/repos/PieselBois/kfulint","forks_url":"https://api.github.com/repos/PieselBois/kfulint/forks","keys_url":"https://api.github.com/repos/PieselBois/kfulint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PieselBois/kfulint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PieselBois/kfulint/teams","hooks_url":"https://api.github.com/repos/PieselBois/kfulint/hooks","issue_events_url":"https://api.github.com/repos/PieselBois/kfulint/issues/events{/number}","events_url":"https://api.github.com/repos/PieselBois/kfulint/events","assignees_url":"https://api.github.com/repos/PieselBois/kfulint/assignees{/user}","branches_url":"https://api.github.com/repos/PieselBois/kfulint/branches{/branch}","tags_url":"https://api.github.com/repos/PieselBois/kfulint/tags","blobs_url":"https://api.github.com/repos/PieselBois/kfulint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PieselBois/kfulint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PieselBois/kfulint/git/refs{/sha}","trees_url":"https://api.github.com/repos/PieselBois/kfulint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PieselBois/kfulint/statuses/{sha}","languages_url":"https://api.github.com/repos/PieselBois/kfulint/languages","stargazers_url":"https://api.github.com/repos/PieselBois/kfulint/stargazers","contributors_url":"https://api.github.com/repos/PieselBois/kfulint/contributors","subscribers_url":"https://api.github.com/repos/PieselBois/kfulint/subscribers","subscription_url":"https://api.github.com/repos/PieselBois/kfulint/subscription","commits_url":"https://api.github.com/repos/PieselBois/kfulint/commits{/sha}","git_commits_url":"https://api.github.com/repos/PieselBois/kfulint/git/commits{/sha}","comments_url":"https://api.github.com/repos/PieselBois/kfulint/comments{/number}","issue_comment_url":"https://api.github.com/repos/PieselBois/kfulint/issues/comments{/number}","contents_url":"https://api.github.com/repos/PieselBois/kfulint/contents/{+path}","compare_url":"https://api.github.com/repos/PieselBois/kfulint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PieselBois/kfulint/merges","archive_url":"https://api.github.com/repos/PieselBois/kfulint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PieselBois/kfulint/downloads","issues_url":"https://api.github.com/repos/PieselBois/kfulint/issues{/number}","pulls_url":"https://api.github.com/repos/PieselBois/kfulint/pulls{/number}","milestones_url":"https://api.github.com/repos/PieselBois/kfulint/milestones{/number}","notifications_url":"https://api.github.com/repos/PieselBois/kfulint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PieselBois/kfulint/labels{/name}","releases_url":"https://api.github.com/repos/PieselBois/kfulint/releases{/id}","deployments_url":"https://api.github.com/repos/PieselBois/kfulint/deployments","created_at":"2018-05-05T09:17:26Z","updated_at":"2018-05-18T16:41:09Z","pushed_at":"2018-05-19T17:11:52Z","git_url":"git://github.com/PieselBois/kfulint.git","ssh_url":"git@github.com:PieselBois/kfulint.git","clone_url":"https://github.com/PieselBois/kfulint.git","svn_url":"https://github.com/PieselBois/kfulint","homepage":"","size":79,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":26,"watchers":3,"default_branch":"master"}},"base":{"label":"PieselBois:master","ref":"master","sha":"ed22ee57cc4c1854fdd8f3183c0dce8dc1c7d1ac","user":{"login":"PieselBois","id":36415830,"avatar_url":"https://avatars3.githubusercontent.com/u/36415830?v=4","gravatar_id":"","url":"https://api.github.com/users/PieselBois","html_url":"https://github.com/PieselBois","followers_url":"https://api.github.com/users/PieselBois/followers","following_url":"https://api.github.com/users/PieselBois/following{/other_user}","gists_url":"https://api.github.com/users/PieselBois/gists{/gist_id}","starred_url":"https://api.github.com/users/PieselBois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PieselBois/subscriptions","organizations_url":"https://api.github.com/users/PieselBois/orgs","repos_url":"https://api.github.com/users/PieselBois/repos","events_url":"https://api.github.com/users/PieselBois/events{/privacy}","received_events_url":"https://api.github.com/users/PieselBois/received_events","type":"Organization","site_admin":false},"repo":{"id":132232698,"name":"kfulint","full_name":"PieselBois/kfulint","owner":{"login":"PieselBois","id":36415830,"avatar_url":"https://avatars3.githubusercontent.com/u/36415830?v=4","gravatar_id":"","url":"https://api.github.com/users/PieselBois","html_url":"https://github.com/PieselBois","followers_url":"https://api.github.com/users/PieselBois/followers","following_url":"https://api.github.com/users/PieselBois/following{/other_user}","gists_url":"https://api.github.com/users/PieselBois/gists{/gist_id}","starred_url":"https://api.github.com/users/PieselBois/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PieselBois/subscriptions","organizations_url":"https://api.github.com/users/PieselBois/orgs","repos_url":"https://api.github.com/users/PieselBois/repos","events_url":"https://api.github.com/users/PieselBois/events{/privacy}","received_events_url":"https://api.github.com/users/PieselBois/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PieselBois/kfulint","description":"Go source code linter.","fork":false,"url":"https://api.github.com/repos/PieselBois/kfulint","forks_url":"https://api.github.com/repos/PieselBois/kfulint/forks","keys_url":"https://api.github.com/repos/PieselBois/kfulint/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PieselBois/kfulint/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PieselBois/kfulint/teams","hooks_url":"https://api.github.com/repos/PieselBois/kfulint/hooks","issue_events_url":"https://api.github.com/repos/PieselBois/kfulint/issues/events{/number}","events_url":"https://api.github.com/repos/PieselBois/kfulint/events","assignees_url":"https://api.github.com/repos/PieselBois/kfulint/assignees{/user}","branches_url":"https://api.github.com/repos/PieselBois/kfulint/branches{/branch}","tags_url":"https://api.github.com/repos/PieselBois/kfulint/tags","blobs_url":"https://api.github.com/repos/PieselBois/kfulint/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PieselBois/kfulint/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PieselBois/kfulint/git/refs{/sha}","trees_url":"https://api.github.com/repos/PieselBois/kfulint/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PieselBois/kfulint/statuses/{sha}","languages_url":"https://api.github.com/repos/PieselBois/kfulint/languages","stargazers_url":"https://api.github.com/repos/PieselBois/kfulint/stargazers","contributors_url":"https://api.github.com/repos/PieselBois/kfulint/contributors","subscribers_url":"https://api.github.com/repos/PieselBois/kfulint/subscribers","subscription_url":"https://api.github.com/repos/PieselBois/kfulint/subscription","commits_url":"https://api.github.com/repos/PieselBois/kfulint/commits{/sha}","git_commits_url":"https://api.github.com/repos/PieselBois/kfulint/git/commits{/sha}","comments_url":"https://api.github.com/repos/PieselBois/kfulint/comments{/number}","issue_comment_url":"https://api.github.com/repos/PieselBois/kfulint/issues/comments{/number}","contents_url":"https://api.github.com/repos/PieselBois/kfulint/contents/{+path}","compare_url":"https://api.github.com/repos/PieselBois/kfulint/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PieselBois/kfulint/merges","archive_url":"https://api.github.com/repos/PieselBois/kfulint/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PieselBois/kfulint/downloads","issues_url":"https://api.github.com/repos/PieselBois/kfulint/issues{/number}","pulls_url":"https://api.github.com/repos/PieselBois/kfulint/pulls{/number}","milestones_url":"https://api.github.com/repos/PieselBois/kfulint/milestones{/number}","notifications_url":"https://api.github.com/repos/PieselBois/kfulint/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PieselBois/kfulint/labels{/name}","releases_url":"https://api.github.com/repos/PieselBois/kfulint/releases{/id}","deployments_url":"https://api.github.com/repos/PieselBois/kfulint/deployments","created_at":"2018-05-05T09:17:26Z","updated_at":"2018-05-18T16:41:09Z","pushed_at":"2018-05-19T17:11:52Z","git_url":"git://github.com/PieselBois/kfulint.git","ssh_url":"git@github.com:PieselBois/kfulint.git","clone_url":"https://github.com/PieselBois/kfulint.git","svn_url":"https://github.com/PieselBois/kfulint","homepage":"","size":79,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":26,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PieselBois/kfulint/pulls/101"},"html":{"href":"https://github.com/PieselBois/kfulint/pull/101"},"issue":{"href":"https://api.github.com/repos/PieselBois/kfulint/issues/101"},"comments":{"href":"https://api.github.com/repos/PieselBois/kfulint/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/PieselBois/kfulint/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/PieselBois/kfulint/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PieselBois/kfulint/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/PieselBois/kfulint/statuses/229a1e65c38ead912e825b319fbb845f29bc4021"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":71,"deletions":0,"changed_files":4}}
{"actor":{"display_login":"weeellz"}}