{"action":"created","comment":{"url":"https://api.github.com/repos/go-critic/go-critic/pulls/comments/205940987","pull_request_review_id":141314738,"id":205940987,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTk0MDk4Nw==","diff_hunk":"@@ -50,4 +50,7 @@ func f4(a, b float64) {\n \t/// change `a != b` to `math.Abs(a - b) >= eps`\n \t_ = a == b && b != a || !(a != b)\n \n+\t// TODO: change `a == b+a` to `math.Abs(a - b - a) < eps`","path":"lint/testdata/floatCompare/positive_tests.go","position":null,"original_position":4,"commit_id":"238f9cf3ce2932d299370a9541560cdd57ecf103","original_commit_id":"c3e85c770f3bc392f4845ebc2f6464362f4999bb","user":{"login":"ludweeg","id":31108067,"node_id":"MDQ6VXNlcjMxMTA4MDY3","avatar_url":"https://avatars2.githubusercontent.com/u/31108067?v=4","gravatar_id":"","url":"https://api.github.com/users/ludweeg","html_url":"https://github.com/ludweeg","followers_url":"https://api.github.com/users/ludweeg/followers","following_url":"https://api.github.com/users/ludweeg/following{/other_user}","gists_url":"https://api.github.com/users/ludweeg/gists{/gist_id}","starred_url":"https://api.github.com/users/ludweeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludweeg/subscriptions","organizations_url":"https://api.github.com/users/ludweeg/orgs","repos_url":"https://api.github.com/users/ludweeg/repos","events_url":"https://api.github.com/users/ludweeg/events{/privacy}","received_events_url":"https://api.github.com/users/ludweeg/received_events","type":"User","site_admin":false},"body":"Done","created_at":"2018-07-28T11:20:34Z","updated_at":"2018-07-28T11:20:34Z","html_url":"https://github.com/go-critic/go-critic/pull/514#discussion_r205940987","pull_request_url":"https://api.github.com/repos/go-critic/go-critic/pulls/514","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/go-critic/go-critic/pulls/comments/205940987"},"html":{"href":"https://github.com/go-critic/go-critic/pull/514#discussion_r205940987"},"pull_request":{"href":"https://api.github.com/repos/go-critic/go-critic/pulls/514"}},"in_reply_to_id":205940809},"pull_request":{"url":"https://api.github.com/repos/go-critic/go-critic/pulls/514","id":204588316,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NTg4MzE2","html_url":"https://github.com/go-critic/go-critic/pull/514","diff_url":"https://github.com/go-critic/go-critic/pull/514.diff","patch_url":"https://github.com/go-critic/go-critic/pull/514.patch","issue_url":"https://api.github.com/repos/go-critic/go-critic/issues/514","number":514,"state":"open","locked":false,"title":"lint: add TODO for floatCompare checker","user":{"login":"ludweeg","id":31108067,"node_id":"MDQ6VXNlcjMxMTA4MDY3","avatar_url":"https://avatars2.githubusercontent.com/u/31108067?v=4","gravatar_id":"","url":"https://api.github.com/users/ludweeg","html_url":"https://github.com/ludweeg","followers_url":"https://api.github.com/users/ludweeg/followers","following_url":"https://api.github.com/users/ludweeg/following{/other_user}","gists_url":"https://api.github.com/users/ludweeg/gists{/gist_id}","starred_url":"https://api.github.com/users/ludweeg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ludweeg/subscriptions","organizations_url":"https://api.github.com/users/ludweeg/orgs","repos_url":"https://api.github.com/users/ludweeg/repos","events_url":"https://api.github.com/users/ludweeg/events{/privacy}","received_events_url":"https://api.github.com/users/ludweeg/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-28T10:58:31Z","updated_at":"2018-07-28T11:20:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db662771367a0ae49b865fd35dada4b0059fd286","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/go-critic/go-critic/pulls/514/commits","review_comments_url":"https://api.github.com/repos/go-critic/go-critic/pulls/514/comments","review_comment_url":"https://api.github.com/repos/go-critic/go-critic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/go-critic/go-critic/issues/514/comments","statuses_url":"https://api.github.com/repos/go-critic/go-critic/statuses/238f9cf3ce2932d299370a9541560cdd57ecf103","head":{"label":"go-critic:ludweeg/add_todo_for_floatCompare_checker","ref":"ludweeg/add_todo_for_floatCompare_checker","sha":"238f9cf3ce2932d299370a9541560cdd57ecf103","user":{"login":"go-critic","id":40007520,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMDA3NTIw","avatar_url":"https://avatars2.githubusercontent.com/u/40007520?v=4","gravatar_id":"","url":"https://api.github.com/users/go-critic","html_url":"https://github.com/go-critic","followers_url":"https://api.github.com/users/go-critic/followers","following_url":"https://api.github.com/users/go-critic/following{/other_user}","gists_url":"https://api.github.com/users/go-critic/gists{/gist_id}","starred_url":"https://api.github.com/users/go-critic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-critic/subscriptions","organizations_url":"https://api.github.com/users/go-critic/orgs","repos_url":"https://api.github.com/users/go-critic/repos","events_url":"https://api.github.com/users/go-critic/events{/privacy}","received_events_url":"https://api.github.com/users/go-critic/received_events","type":"Organization","site_admin":false},"repo":{"id":132232698,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIyMzI2OTg=","name":"go-critic","full_name":"go-critic/go-critic","owner":{"login":"go-critic","id":40007520,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMDA3NTIw","avatar_url":"https://avatars2.githubusercontent.com/u/40007520?v=4","gravatar_id":"","url":"https://api.github.com/users/go-critic","html_url":"https://github.com/go-critic","followers_url":"https://api.github.com/users/go-critic/followers","following_url":"https://api.github.com/users/go-critic/following{/other_user}","gists_url":"https://api.github.com/users/go-critic/gists{/gist_id}","starred_url":"https://api.github.com/users/go-critic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-critic/subscriptions","organizations_url":"https://api.github.com/users/go-critic/orgs","repos_url":"https://api.github.com/users/go-critic/repos","events_url":"https://api.github.com/users/go-critic/events{/privacy}","received_events_url":"https://api.github.com/users/go-critic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/go-critic/go-critic","description":"The most opinionated Go source code linter","fork":false,"url":"https://api.github.com/repos/go-critic/go-critic","forks_url":"https://api.github.com/repos/go-critic/go-critic/forks","keys_url":"https://api.github.com/repos/go-critic/go-critic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-critic/go-critic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-critic/go-critic/teams","hooks_url":"https://api.github.com/repos/go-critic/go-critic/hooks","issue_events_url":"https://api.github.com/repos/go-critic/go-critic/issues/events{/number}","events_url":"https://api.github.com/repos/go-critic/go-critic/events","assignees_url":"https://api.github.com/repos/go-critic/go-critic/assignees{/user}","branches_url":"https://api.github.com/repos/go-critic/go-critic/branches{/branch}","tags_url":"https://api.github.com/repos/go-critic/go-critic/tags","blobs_url":"https://api.github.com/repos/go-critic/go-critic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-critic/go-critic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-critic/go-critic/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-critic/go-critic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-critic/go-critic/statuses/{sha}","languages_url":"https://api.github.com/repos/go-critic/go-critic/languages","stargazers_url":"https://api.github.com/repos/go-critic/go-critic/stargazers","contributors_url":"https://api.github.com/repos/go-critic/go-critic/contributors","subscribers_url":"https://api.github.com/repos/go-critic/go-critic/subscribers","subscription_url":"https://api.github.com/repos/go-critic/go-critic/subscription","commits_url":"https://api.github.com/repos/go-critic/go-critic/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-critic/go-critic/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-critic/go-critic/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-critic/go-critic/issues/comments{/number}","contents_url":"https://api.github.com/repos/go-critic/go-critic/contents/{+path}","compare_url":"https://api.github.com/repos/go-critic/go-critic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-critic/go-critic/merges","archive_url":"https://api.github.com/repos/go-critic/go-critic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-critic/go-critic/downloads","issues_url":"https://api.github.com/repos/go-critic/go-critic/issues{/number}","pulls_url":"https://api.github.com/repos/go-critic/go-critic/pulls{/number}","milestones_url":"https://api.github.com/repos/go-critic/go-critic/milestones{/number}","notifications_url":"https://api.github.com/repos/go-critic/go-critic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-critic/go-critic/labels{/name}","releases_url":"https://api.github.com/repos/go-critic/go-critic/releases{/id}","deployments_url":"https://api.github.com/repos/go-critic/go-critic/deployments","created_at":"2018-05-05T09:17:26Z","updated_at":"2018-07-28T10:57:32Z","pushed_at":"2018-07-28T11:20:08Z","git_url":"git://github.com/go-critic/go-critic.git","ssh_url":"git@github.com:go-critic/go-critic.git","clone_url":"https://github.com/go-critic/go-critic.git","svn_url":"https://github.com/go-critic/go-critic","homepage":"","size":2581,"stargazers_count":223,"watchers_count":223,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":84,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":15,"open_issues":84,"watchers":223,"default_branch":"master"}},"base":{"label":"go-critic:master","ref":"master","sha":"892b58a49bdd64f64aeb967bc315427fc2abba5d","user":{"login":"go-critic","id":40007520,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMDA3NTIw","avatar_url":"https://avatars2.githubusercontent.com/u/40007520?v=4","gravatar_id":"","url":"https://api.github.com/users/go-critic","html_url":"https://github.com/go-critic","followers_url":"https://api.github.com/users/go-critic/followers","following_url":"https://api.github.com/users/go-critic/following{/other_user}","gists_url":"https://api.github.com/users/go-critic/gists{/gist_id}","starred_url":"https://api.github.com/users/go-critic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-critic/subscriptions","organizations_url":"https://api.github.com/users/go-critic/orgs","repos_url":"https://api.github.com/users/go-critic/repos","events_url":"https://api.github.com/users/go-critic/events{/privacy}","received_events_url":"https://api.github.com/users/go-critic/received_events","type":"Organization","site_admin":false},"repo":{"id":132232698,"node_id":"MDEwOlJlcG9zaXRvcnkxMzIyMzI2OTg=","name":"go-critic","full_name":"go-critic/go-critic","owner":{"login":"go-critic","id":40007520,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQwMDA3NTIw","avatar_url":"https://avatars2.githubusercontent.com/u/40007520?v=4","gravatar_id":"","url":"https://api.github.com/users/go-critic","html_url":"https://github.com/go-critic","followers_url":"https://api.github.com/users/go-critic/followers","following_url":"https://api.github.com/users/go-critic/following{/other_user}","gists_url":"https://api.github.com/users/go-critic/gists{/gist_id}","starred_url":"https://api.github.com/users/go-critic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-critic/subscriptions","organizations_url":"https://api.github.com/users/go-critic/orgs","repos_url":"https://api.github.com/users/go-critic/repos","events_url":"https://api.github.com/users/go-critic/events{/privacy}","received_events_url":"https://api.github.com/users/go-critic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/go-critic/go-critic","description":"The most opinionated Go source code linter","fork":false,"url":"https://api.github.com/repos/go-critic/go-critic","forks_url":"https://api.github.com/repos/go-critic/go-critic/forks","keys_url":"https://api.github.com/repos/go-critic/go-critic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-critic/go-critic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-critic/go-critic/teams","hooks_url":"https://api.github.com/repos/go-critic/go-critic/hooks","issue_events_url":"https://api.github.com/repos/go-critic/go-critic/issues/events{/number}","events_url":"https://api.github.com/repos/go-critic/go-critic/events","assignees_url":"https://api.github.com/repos/go-critic/go-critic/assignees{/user}","branches_url":"https://api.github.com/repos/go-critic/go-critic/branches{/branch}","tags_url":"https://api.github.com/repos/go-critic/go-critic/tags","blobs_url":"https://api.github.com/repos/go-critic/go-critic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-critic/go-critic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-critic/go-critic/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-critic/go-critic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-critic/go-critic/statuses/{sha}","languages_url":"https://api.github.com/repos/go-critic/go-critic/languages","stargazers_url":"https://api.github.com/repos/go-critic/go-critic/stargazers","contributors_url":"https://api.github.com/repos/go-critic/go-critic/contributors","subscribers_url":"https://api.github.com/repos/go-critic/go-critic/subscribers","subscription_url":"https://api.github.com/repos/go-critic/go-critic/subscription","commits_url":"https://api.github.com/repos/go-critic/go-critic/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-critic/go-critic/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-critic/go-critic/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-critic/go-critic/issues/comments{/number}","contents_url":"https://api.github.com/repos/go-critic/go-critic/contents/{+path}","compare_url":"https://api.github.com/repos/go-critic/go-critic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-critic/go-critic/merges","archive_url":"https://api.github.com/repos/go-critic/go-critic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-critic/go-critic/downloads","issues_url":"https://api.github.com/repos/go-critic/go-critic/issues{/number}","pulls_url":"https://api.github.com/repos/go-critic/go-critic/pulls{/number}","milestones_url":"https://api.github.com/repos/go-critic/go-critic/milestones{/number}","notifications_url":"https://api.github.com/repos/go-critic/go-critic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-critic/go-critic/labels{/name}","releases_url":"https://api.github.com/repos/go-critic/go-critic/releases{/id}","deployments_url":"https://api.github.com/repos/go-critic/go-critic/deployments","created_at":"2018-05-05T09:17:26Z","updated_at":"2018-07-28T10:57:32Z","pushed_at":"2018-07-28T11:20:08Z","git_url":"git://github.com/go-critic/go-critic.git","ssh_url":"git@github.com:go-critic/go-critic.git","clone_url":"https://github.com/go-critic/go-critic.git","svn_url":"https://github.com/go-critic/go-critic","homepage":"","size":2581,"stargazers_count":223,"watchers_count":223,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":84,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":15,"open_issues":84,"watchers":223,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/go-critic/go-critic/pulls/514"},"html":{"href":"https://github.com/go-critic/go-critic/pull/514"},"issue":{"href":"https://api.github.com/repos/go-critic/go-critic/issues/514"},"comments":{"href":"https://api.github.com/repos/go-critic/go-critic/issues/514/comments"},"review_comments":{"href":"https://api.github.com/repos/go-critic/go-critic/pulls/514/comments"},"review_comment":{"href":"https://api.github.com/repos/go-critic/go-critic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/go-critic/go-critic/pulls/514/commits"},"statuses":{"href":"https://api.github.com/repos/go-critic/go-critic/statuses/238f9cf3ce2932d299370a9541560cdd57ecf103"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ludweeg"}}