{"action":"created","comment":{"url":"https://api.github.com/repos/worlvlhole/maladapt/pulls/comments/220556129","pull_request_review_id":158988827,"id":220556129,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMDU1NjEyOQ==","diff_hunk":"@@ -7,13 +7,24 @@ import (\n \t\"github.com/worlvlhole/maladapt/internal/digests\"\n )\n \n-type Result struct {\n+type ResultType = string\n+\n+const (\n+\tVirusScan ResultType = \"VirusScan\"\n+)\n+\n+type VirusScanResult struct {\n \tPositives  int         `json:\"positives\" bson:\"positives\"`\n \tTotalScans int         `json:\"totalScans\" bson:\"totalScans\"`\n-\tTime       time.Time   `json:\"time\" bson:\"time\"`\n \tContext    interface{} `json:\"context\" bson:\"context\"`\n }\n \n+type Result struct {\n+\tTime   time.Time   `json:\"time\" bson:\"time\"`\n+\tType   ResultType  `json:\"type\"  bson:\"type\"`\n+\tDetails interface{} `json:\"result\" bson:\"details\"`","path":"internal/model/model.go","position":21,"original_position":21,"commit_id":"1915b368c273827b79e636c8afd48b399fdd3829","original_commit_id":"1915b368c273827b79e636c8afd48b399fdd3829","user":{"login":"rosstimothy","id":39066650,"node_id":"MDQ6VXNlcjM5MDY2NjUw","avatar_url":"https://avatars1.githubusercontent.com/u/39066650?v=4","gravatar_id":"","url":"https://api.github.com/users/rosstimothy","html_url":"https://github.com/rosstimothy","followers_url":"https://api.github.com/users/rosstimothy/followers","following_url":"https://api.github.com/users/rosstimothy/following{/other_user}","gists_url":"https://api.github.com/users/rosstimothy/gists{/gist_id}","starred_url":"https://api.github.com/users/rosstimothy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosstimothy/subscriptions","organizations_url":"https://api.github.com/users/rosstimothy/orgs","repos_url":"https://api.github.com/users/rosstimothy/repos","events_url":"https://api.github.com/users/rosstimothy/events{/privacy}","received_events_url":"https://api.github.com/users/rosstimothy/received_events","type":"User","site_admin":false},"body":"json:\"details\" ?","created_at":"2018-09-26T13:16:00Z","updated_at":"2018-09-26T13:18:08Z","html_url":"https://github.com/worlvlhole/maladapt/pull/24#discussion_r220556129","pull_request_url":"https://api.github.com/repos/worlvlhole/maladapt/pulls/24","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/worlvlhole/maladapt/pulls/comments/220556129"},"html":{"href":"https://github.com/worlvlhole/maladapt/pull/24#discussion_r220556129"},"pull_request":{"href":"https://api.github.com/repos/worlvlhole/maladapt/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/worlvlhole/maladapt/pulls/24","id":218114370,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4MTE0Mzcw","html_url":"https://github.com/worlvlhole/maladapt/pull/24","diff_url":"https://github.com/worlvlhole/maladapt/pull/24.diff","patch_url":"https://github.com/worlvlhole/maladapt/pull/24.patch","issue_url":"https://api.github.com/repos/worlvlhole/maladapt/issues/24","number":24,"state":"open","locked":false,"title":"Abstract Results - allow other than virus scanners","user":{"login":"worlvlhole","id":7563423,"node_id":"MDQ6VXNlcjc1NjM0MjM=","avatar_url":"https://avatars1.githubusercontent.com/u/7563423?v=4","gravatar_id":"","url":"https://api.github.com/users/worlvlhole","html_url":"https://github.com/worlvlhole","followers_url":"https://api.github.com/users/worlvlhole/followers","following_url":"https://api.github.com/users/worlvlhole/following{/other_user}","gists_url":"https://api.github.com/users/worlvlhole/gists{/gist_id}","starred_url":"https://api.github.com/users/worlvlhole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worlvlhole/subscriptions","organizations_url":"https://api.github.com/users/worlvlhole/orgs","repos_url":"https://api.github.com/users/worlvlhole/repos","events_url":"https://api.github.com/users/worlvlhole/events{/privacy}","received_events_url":"https://api.github.com/users/worlvlhole/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-25T20:48:04Z","updated_at":"2018-09-26T13:18:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"78e0545e0b4933a5f9267b9df91b2211c6d7ba94","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/worlvlhole/maladapt/pulls/24/commits","review_comments_url":"https://api.github.com/repos/worlvlhole/maladapt/pulls/24/comments","review_comment_url":"https://api.github.com/repos/worlvlhole/maladapt/pulls/comments{/number}","comments_url":"https://api.github.com/repos/worlvlhole/maladapt/issues/24/comments","statuses_url":"https://api.github.com/repos/worlvlhole/maladapt/statuses/1915b368c273827b79e636c8afd48b399fdd3829","head":{"label":"worlvlhole:abstract_results","ref":"abstract_results","sha":"1915b368c273827b79e636c8afd48b399fdd3829","user":{"login":"worlvlhole","id":7563423,"node_id":"MDQ6VXNlcjc1NjM0MjM=","avatar_url":"https://avatars1.githubusercontent.com/u/7563423?v=4","gravatar_id":"","url":"https://api.github.com/users/worlvlhole","html_url":"https://github.com/worlvlhole","followers_url":"https://api.github.com/users/worlvlhole/followers","following_url":"https://api.github.com/users/worlvlhole/following{/other_user}","gists_url":"https://api.github.com/users/worlvlhole/gists{/gist_id}","starred_url":"https://api.github.com/users/worlvlhole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worlvlhole/subscriptions","organizations_url":"https://api.github.com/users/worlvlhole/orgs","repos_url":"https://api.github.com/users/worlvlhole/repos","events_url":"https://api.github.com/users/worlvlhole/events{/privacy}","received_events_url":"https://api.github.com/users/worlvlhole/received_events","type":"User","site_admin":false},"repo":{"id":145745764,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU3NDU3NjQ=","name":"maladapt","full_name":"worlvlhole/maladapt","private":false,"owner":{"login":"worlvlhole","id":7563423,"node_id":"MDQ6VXNlcjc1NjM0MjM=","avatar_url":"https://avatars1.githubusercontent.com/u/7563423?v=4","gravatar_id":"","url":"https://api.github.com/users/worlvlhole","html_url":"https://github.com/worlvlhole","followers_url":"https://api.github.com/users/worlvlhole/followers","following_url":"https://api.github.com/users/worlvlhole/following{/other_user}","gists_url":"https://api.github.com/users/worlvlhole/gists{/gist_id}","starred_url":"https://api.github.com/users/worlvlhole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worlvlhole/subscriptions","organizations_url":"https://api.github.com/users/worlvlhole/orgs","repos_url":"https://api.github.com/users/worlvlhole/repos","events_url":"https://api.github.com/users/worlvlhole/events{/privacy}","received_events_url":"https://api.github.com/users/worlvlhole/received_events","type":"User","site_admin":false},"html_url":"https://github.com/worlvlhole/maladapt","description":null,"fork":false,"url":"https://api.github.com/repos/worlvlhole/maladapt","forks_url":"https://api.github.com/repos/worlvlhole/maladapt/forks","keys_url":"https://api.github.com/repos/worlvlhole/maladapt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/worlvlhole/maladapt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/worlvlhole/maladapt/teams","hooks_url":"https://api.github.com/repos/worlvlhole/maladapt/hooks","issue_events_url":"https://api.github.com/repos/worlvlhole/maladapt/issues/events{/number}","events_url":"https://api.github.com/repos/worlvlhole/maladapt/events","assignees_url":"https://api.github.com/repos/worlvlhole/maladapt/assignees{/user}","branches_url":"https://api.github.com/repos/worlvlhole/maladapt/branches{/branch}","tags_url":"https://api.github.com/repos/worlvlhole/maladapt/tags","blobs_url":"https://api.github.com/repos/worlvlhole/maladapt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/worlvlhole/maladapt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/worlvlhole/maladapt/git/refs{/sha}","trees_url":"https://api.github.com/repos/worlvlhole/maladapt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/worlvlhole/maladapt/statuses/{sha}","languages_url":"https://api.github.com/repos/worlvlhole/maladapt/languages","stargazers_url":"https://api.github.com/repos/worlvlhole/maladapt/stargazers","contributors_url":"https://api.github.com/repos/worlvlhole/maladapt/contributors","subscribers_url":"https://api.github.com/repos/worlvlhole/maladapt/subscribers","subscription_url":"https://api.github.com/repos/worlvlhole/maladapt/subscription","commits_url":"https://api.github.com/repos/worlvlhole/maladapt/commits{/sha}","git_commits_url":"https://api.github.com/repos/worlvlhole/maladapt/git/commits{/sha}","comments_url":"https://api.github.com/repos/worlvlhole/maladapt/comments{/number}","issue_comment_url":"https://api.github.com/repos/worlvlhole/maladapt/issues/comments{/number}","contents_url":"https://api.github.com/repos/worlvlhole/maladapt/contents/{+path}","compare_url":"https://api.github.com/repos/worlvlhole/maladapt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/worlvlhole/maladapt/merges","archive_url":"https://api.github.com/repos/worlvlhole/maladapt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/worlvlhole/maladapt/downloads","issues_url":"https://api.github.com/repos/worlvlhole/maladapt/issues{/number}","pulls_url":"https://api.github.com/repos/worlvlhole/maladapt/pulls{/number}","milestones_url":"https://api.github.com/repos/worlvlhole/maladapt/milestones{/number}","notifications_url":"https://api.github.com/repos/worlvlhole/maladapt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/worlvlhole/maladapt/labels{/name}","releases_url":"https://api.github.com/repos/worlvlhole/maladapt/releases{/id}","deployments_url":"https://api.github.com/repos/worlvlhole/maladapt/deployments","created_at":"2018-08-22T18:12:23Z","updated_at":"2018-09-25T18:34:13Z","pushed_at":"2018-09-25T21:08:20Z","git_url":"git://github.com/worlvlhole/maladapt.git","ssh_url":"git@github.com:worlvlhole/maladapt.git","clone_url":"https://github.com/worlvlhole/maladapt.git","svn_url":"https://github.com/worlvlhole/maladapt","homepage":null,"size":18138,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"worlvlhole:master","ref":"master","sha":"511c2e6a7151942e74251c5cbeebc5922fc20e44","user":{"login":"worlvlhole","id":7563423,"node_id":"MDQ6VXNlcjc1NjM0MjM=","avatar_url":"https://avatars1.githubusercontent.com/u/7563423?v=4","gravatar_id":"","url":"https://api.github.com/users/worlvlhole","html_url":"https://github.com/worlvlhole","followers_url":"https://api.github.com/users/worlvlhole/followers","following_url":"https://api.github.com/users/worlvlhole/following{/other_user}","gists_url":"https://api.github.com/users/worlvlhole/gists{/gist_id}","starred_url":"https://api.github.com/users/worlvlhole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worlvlhole/subscriptions","organizations_url":"https://api.github.com/users/worlvlhole/orgs","repos_url":"https://api.github.com/users/worlvlhole/repos","events_url":"https://api.github.com/users/worlvlhole/events{/privacy}","received_events_url":"https://api.github.com/users/worlvlhole/received_events","type":"User","site_admin":false},"repo":{"id":145745764,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU3NDU3NjQ=","name":"maladapt","full_name":"worlvlhole/maladapt","private":false,"owner":{"login":"worlvlhole","id":7563423,"node_id":"MDQ6VXNlcjc1NjM0MjM=","avatar_url":"https://avatars1.githubusercontent.com/u/7563423?v=4","gravatar_id":"","url":"https://api.github.com/users/worlvlhole","html_url":"https://github.com/worlvlhole","followers_url":"https://api.github.com/users/worlvlhole/followers","following_url":"https://api.github.com/users/worlvlhole/following{/other_user}","gists_url":"https://api.github.com/users/worlvlhole/gists{/gist_id}","starred_url":"https://api.github.com/users/worlvlhole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/worlvlhole/subscriptions","organizations_url":"https://api.github.com/users/worlvlhole/orgs","repos_url":"https://api.github.com/users/worlvlhole/repos","events_url":"https://api.github.com/users/worlvlhole/events{/privacy}","received_events_url":"https://api.github.com/users/worlvlhole/received_events","type":"User","site_admin":false},"html_url":"https://github.com/worlvlhole/maladapt","description":null,"fork":false,"url":"https://api.github.com/repos/worlvlhole/maladapt","forks_url":"https://api.github.com/repos/worlvlhole/maladapt/forks","keys_url":"https://api.github.com/repos/worlvlhole/maladapt/keys{/key_id}","collaborators_url":"https://api.github.com/repos/worlvlhole/maladapt/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/worlvlhole/maladapt/teams","hooks_url":"https://api.github.com/repos/worlvlhole/maladapt/hooks","issue_events_url":"https://api.github.com/repos/worlvlhole/maladapt/issues/events{/number}","events_url":"https://api.github.com/repos/worlvlhole/maladapt/events","assignees_url":"https://api.github.com/repos/worlvlhole/maladapt/assignees{/user}","branches_url":"https://api.github.com/repos/worlvlhole/maladapt/branches{/branch}","tags_url":"https://api.github.com/repos/worlvlhole/maladapt/tags","blobs_url":"https://api.github.com/repos/worlvlhole/maladapt/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/worlvlhole/maladapt/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/worlvlhole/maladapt/git/refs{/sha}","trees_url":"https://api.github.com/repos/worlvlhole/maladapt/git/trees{/sha}","statuses_url":"https://api.github.com/repos/worlvlhole/maladapt/statuses/{sha}","languages_url":"https://api.github.com/repos/worlvlhole/maladapt/languages","stargazers_url":"https://api.github.com/repos/worlvlhole/maladapt/stargazers","contributors_url":"https://api.github.com/repos/worlvlhole/maladapt/contributors","subscribers_url":"https://api.github.com/repos/worlvlhole/maladapt/subscribers","subscription_url":"https://api.github.com/repos/worlvlhole/maladapt/subscription","commits_url":"https://api.github.com/repos/worlvlhole/maladapt/commits{/sha}","git_commits_url":"https://api.github.com/repos/worlvlhole/maladapt/git/commits{/sha}","comments_url":"https://api.github.com/repos/worlvlhole/maladapt/comments{/number}","issue_comment_url":"https://api.github.com/repos/worlvlhole/maladapt/issues/comments{/number}","contents_url":"https://api.github.com/repos/worlvlhole/maladapt/contents/{+path}","compare_url":"https://api.github.com/repos/worlvlhole/maladapt/compare/{base}...{head}","merges_url":"https://api.github.com/repos/worlvlhole/maladapt/merges","archive_url":"https://api.github.com/repos/worlvlhole/maladapt/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/worlvlhole/maladapt/downloads","issues_url":"https://api.github.com/repos/worlvlhole/maladapt/issues{/number}","pulls_url":"https://api.github.com/repos/worlvlhole/maladapt/pulls{/number}","milestones_url":"https://api.github.com/repos/worlvlhole/maladapt/milestones{/number}","notifications_url":"https://api.github.com/repos/worlvlhole/maladapt/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/worlvlhole/maladapt/labels{/name}","releases_url":"https://api.github.com/repos/worlvlhole/maladapt/releases{/id}","deployments_url":"https://api.github.com/repos/worlvlhole/maladapt/deployments","created_at":"2018-08-22T18:12:23Z","updated_at":"2018-09-25T18:34:13Z","pushed_at":"2018-09-25T21:08:20Z","git_url":"git://github.com/worlvlhole/maladapt.git","ssh_url":"git@github.com:worlvlhole/maladapt.git","clone_url":"https://github.com/worlvlhole/maladapt.git","svn_url":"https://github.com/worlvlhole/maladapt","homepage":null,"size":18138,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":2,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/worlvlhole/maladapt/pulls/24"},"html":{"href":"https://github.com/worlvlhole/maladapt/pull/24"},"issue":{"href":"https://api.github.com/repos/worlvlhole/maladapt/issues/24"},"comments":{"href":"https://api.github.com/repos/worlvlhole/maladapt/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/worlvlhole/maladapt/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/worlvlhole/maladapt/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/worlvlhole/maladapt/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/worlvlhole/maladapt/statuses/1915b368c273827b79e636c8afd48b399fdd3829"}},"author_association":"OWNER"}}
{"actor":{"display_login":"rosstimothy"}}