payload: {"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/MrLarssonJr/durn2/pulls/2","id":351622464,"node_id":"MDExOlB1bGxSZXF1ZXN0MzUxNjIyNDY0","html_url":"https://github.com/MrLarssonJr/durn2/pull/2","diff_url":"https://github.com/MrLarssonJr/durn2/pull/2.diff","patch_url":"https://github.com/MrLarssonJr/durn2/pull/2.patch","issue_url":"https://api.github.com/repos/MrLarssonJr/durn2/issues/2","number":2,"state":"closed","locked":false,"title":"Split `main()`","user":{"login":"MrLarssonJr","id":4522613,"node_id":"MDQ6VXNlcjQ1MjI2MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/4522613?v=4","gravatar_id":"","url":"https://api.github.com/users/MrLarssonJr","html_url":"https://github.com/MrLarssonJr","followers_url":"https://api.github.com/users/MrLarssonJr/followers","following_url":"https://api.github.com/users/MrLarssonJr/following{/other_user}","gists_url":"https://api.github.com/users/MrLarssonJr/gists{/gist_id}","starred_url":"https://api.github.com/users/MrLarssonJr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrLarssonJr/subscriptions","organizations_url":"https://api.github.com/users/MrLarssonJr/orgs","repos_url":"https://api.github.com/users/MrLarssonJr/repos","events_url":"https://api.github.com/users/MrLarssonJr/events{/privacy}","received_events_url":"https://api.github.com/users/MrLarssonJr/received_events","type":"User","site_admin":false},"body":"Split main into designated function to be able to configure them without polluting `main()`.","created_at":"2019-12-10T21:54:11Z","updated_at":"2019-12-10T21:54:58Z","closed_at":"2019-12-10T21:54:58Z","merged_at":"2019-12-10T21:54:58Z","merge_commit_sha":"81078c578a03d42dd677a8a76ee7f0072f4c69d8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MrLarssonJr/durn2/pulls/2/commits","review_comments_url":"https://api.github.com/repos/MrLarssonJr/durn2/pulls/2/comments","review_comment_url":"https://api.github.com/repos/MrLarssonJr/durn2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MrLarssonJr/durn2/issues/2/comments","statuses_url":"https://api.github.com/repos/MrLarssonJr/durn2/statuses/7aa6d55497462b3ed543d602ce3679857b97e14f","head":{"label":"MrLarssonJr:split-main","ref":"split-main","sha":"7aa6d55497462b3ed543d602ce3679857b97e14f","user":{"login":"MrLarssonJr","id":4522613,"node_id":"MDQ6VXNlcjQ1MjI2MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/4522613?v=4","gravatar_id":"","url":"https://api.github.com/users/MrLarssonJr","html_url":"https://github.com/MrLarssonJr","followers_url":"https://api.github.com/users/MrLarssonJr/followers","following_url":"https://api.github.com/users/MrLarssonJr/following{/other_user}","gists_url":"https://api.github.com/users/MrLarssonJr/gists{/gist_id}","starred_url":"https://api.github.com/users/MrLarssonJr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrLarssonJr/subscriptions","organizations_url":"https://api.github.com/users/MrLarssonJr/orgs","repos_url":"https://api.github.com/users/MrLarssonJr/repos","events_url":"https://api.github.com/users/MrLarssonJr/events{/privacy}","received_events_url":"https://api.github.com/users/MrLarssonJr/received_events","type":"User","site_admin":false},"repo":{"id":226583984,"node_id":"MDEwOlJlcG9zaXRvcnkyMjY1ODM5ODQ=","name":"durn2","full_name":"MrLarssonJr/durn2","private":false,"owner":{"login":"MrLarssonJr","id":4522613,"node_id":"MDQ6VXNlcjQ1MjI2MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/4522613?v=4","gravatar_id":"","url":"https://api.github.com/users/MrLarssonJr","html_url":"https://github.com/MrLarssonJr","followers_url":"https://api.github.com/users/MrLarssonJr/followers","following_url":"https://api.github.com/users/MrLarssonJr/following{/other_user}","gists_url":"https://api.github.com/users/MrLarssonJr/gists{/gist_id}","starred_url":"https://api.github.com/users/MrLarssonJr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrLarssonJr/subscriptions","organizations_url":"https://api.github.com/users/MrLarssonJr/orgs","repos_url":"https://api.github.com/users/MrLarssonJr/repos","events_url":"https://api.github.com/users/MrLarssonJr/events{/privacy}","received_events_url":"https://api.github.com/users/MrLarssonJr/received_events","type":"User","site_admin":false},"html_url":"https://github.com/MrLarssonJr/durn2","description":null,"fork":false,"url":"https://api.github.com/repos/MrLarssonJr/durn2","forks_url":"https://api.github.com/repos/MrLarssonJr/durn2/forks","keys_url":"https://api.github.com/repos/MrLarssonJr/durn2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MrLarssonJr/durn2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MrLarssonJr/durn2/teams","hooks_url":"https://api.github.com/repos/MrLarssonJr/durn2/hooks","issue_events_url":"https://api.github.com/repos/MrLarssonJr/durn2/issues/events{/number}","events_url":"https://api.github.com/repos/MrLarssonJr/durn2/events","assignees_url":"https://api.github.com/repos/MrLarssonJr/durn2/assignees{/user}","branches_url":"https://api.github.com/repos/MrLarssonJr/durn2/branches{/branch}","tags_url":"https://api.github.com/repos/MrLarssonJr/durn2/tags","blobs_url":"https://api.github.com/repos/MrLarssonJr/durn2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MrLarssonJr/durn2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MrLarssonJr/durn2/git/refs{/sha}","trees_url":"https://api.github.com/repos/MrLarssonJr/durn2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MrLarssonJr/durn2/statuses/{sha}","languages_url":"https://api.github.com/repos/MrLarssonJr/durn2/languages","stargazers_url":"https://api.github.com/repos/MrLarssonJr/durn2/stargazers","contributors_url":"https://api.github.com/repos/MrLarssonJr/durn2/contributors","subscribers_url":"https://api.github.com/repos/MrLarssonJr/durn2/subscribers","subscription_url":"https://api.github.com/repos/MrLarssonJr/durn2/subscription","commits_url":"https://api.github.com/repos/MrLarssonJr/durn2/commits{/sha}","git_commits_url":"https://api.github.com/repos/MrLarssonJr/durn2/git/commits{/sha}","comments_url":"https://api.github.com/repos/MrLarssonJr/durn2/comments{/number}","issue_comment_url":"https://api.github.com/repos/MrLarssonJr/durn2/issues/comments{/number}","contents_url":"https://api.github.com/repos/MrLarssonJr/durn2/contents/{+path}","compare_url":"https://api.github.com/repos/MrLarssonJr/durn2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MrLarssonJr/durn2/merges","archive_url":"https://api.github.com/repos/MrLarssonJr/durn2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MrLarssonJr/durn2/downloads","issues_url":"https://api.github.com/repos/MrLarssonJr/durn2/issues{/number}","pulls_url":"https://api.github.com/repos/MrLarssonJr/durn2/pulls{/number}","milestones_url":"https://api.github.com/repos/MrLarssonJr/durn2/milestones{/number}","notifications_url":"https://api.github.com/repos/MrLarssonJr/durn2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MrLarssonJr/durn2/labels{/name}","releases_url":"https://api.github.com/repos/MrLarssonJr/durn2/releases{/id}","deployments_url":"https://api.github.com/repos/MrLarssonJr/durn2/deployments","created_at":"2019-12-07T22:27:47Z","updated_at":"2019-12-07T23:59:09Z","pushed_at":"2019-12-10T21:54:58Z","git_url":"git://github.com/MrLarssonJr/durn2.git","ssh_url":"git@github.com:MrLarssonJr/durn2.git","clone_url":"https://github.com/MrLarssonJr/durn2.git","svn_url":"https://github.com/MrLarssonJr/durn2","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"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,"disabled":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"MrLarssonJr:master","ref":"master","sha":"e18999fa4f3257f73632b1f8c47c8a120143372c","user":{"login":"MrLarssonJr","id":4522613,"node_id":"MDQ6VXNlcjQ1MjI2MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/4522613?v=4","gravatar_id":"","url":"https://api.github.com/users/MrLarssonJr","html_url":"https://github.com/MrLarssonJr","followers_url":"https://api.github.com/users/MrLarssonJr/followers","following_url":"https://api.github.com/users/MrLarssonJr/following{/other_user}","gists_url":"https://api.github.com/users/MrLarssonJr/gists{/gist_id}","starred_url":"https://api.github.com/users/MrLarssonJr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrLarssonJr/subscriptions","organizations_url":"https://api.github.com/users/MrLarssonJr/orgs","repos_url":"https://api.github.com/users/MrLarssonJr/repos","events_url":"https://api.github.com/users/MrLarssonJr/events{/privacy}","received_events_url":"https://api.github.com/users/MrLarssonJr/received_events","type":"User","site_admin":false},"repo":{"id":226583984,"node_id":"MDEwOlJlcG9zaXRvcnkyMjY1ODM5ODQ=","name":"durn2","full_name":"MrLarssonJr/durn2","private":false,"owner":{"login":"MrLarssonJr","id":4522613,"node_id":"MDQ6VXNlcjQ1MjI2MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/4522613?v=4","gravatar_id":"","url":"https://api.github.com/users/MrLarssonJr","html_url":"https://github.com/MrLarssonJr","followers_url":"https://api.github.com/users/MrLarssonJr/followers","following_url":"https://api.github.com/users/MrLarssonJr/following{/other_user}","gists_url":"https://api.github.com/users/MrLarssonJr/gists{/gist_id}","starred_url":"https://api.github.com/users/MrLarssonJr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrLarssonJr/subscriptions","organizations_url":"https://api.github.com/users/MrLarssonJr/orgs","repos_url":"https://api.github.com/users/MrLarssonJr/repos","events_url":"https://api.github.com/users/MrLarssonJr/events{/privacy}","received_events_url":"https://api.github.com/users/MrLarssonJr/received_events","type":"User","site_admin":false},"html_url":"https://github.com/MrLarssonJr/durn2","description":null,"fork":false,"url":"https://api.github.com/repos/MrLarssonJr/durn2","forks_url":"https://api.github.com/repos/MrLarssonJr/durn2/forks","keys_url":"https://api.github.com/repos/MrLarssonJr/durn2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MrLarssonJr/durn2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MrLarssonJr/durn2/teams","hooks_url":"https://api.github.com/repos/MrLarssonJr/durn2/hooks","issue_events_url":"https://api.github.com/repos/MrLarssonJr/durn2/issues/events{/number}","events_url":"https://api.github.com/repos/MrLarssonJr/durn2/events","assignees_url":"https://api.github.com/repos/MrLarssonJr/durn2/assignees{/user}","branches_url":"https://api.github.com/repos/MrLarssonJr/durn2/branches{/branch}","tags_url":"https://api.github.com/repos/MrLarssonJr/durn2/tags","blobs_url":"https://api.github.com/repos/MrLarssonJr/durn2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MrLarssonJr/durn2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MrLarssonJr/durn2/git/refs{/sha}","trees_url":"https://api.github.com/repos/MrLarssonJr/durn2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MrLarssonJr/durn2/statuses/{sha}","languages_url":"https://api.github.com/repos/MrLarssonJr/durn2/languages","stargazers_url":"https://api.github.com/repos/MrLarssonJr/durn2/stargazers","contributors_url":"https://api.github.com/repos/MrLarssonJr/durn2/contributors","subscribers_url":"https://api.github.com/repos/MrLarssonJr/durn2/subscribers","subscription_url":"https://api.github.com/repos/MrLarssonJr/durn2/subscription","commits_url":"https://api.github.com/repos/MrLarssonJr/durn2/commits{/sha}","git_commits_url":"https://api.github.com/repos/MrLarssonJr/durn2/git/commits{/sha}","comments_url":"https://api.github.com/repos/MrLarssonJr/durn2/comments{/number}","issue_comment_url":"https://api.github.com/repos/MrLarssonJr/durn2/issues/comments{/number}","contents_url":"https://api.github.com/repos/MrLarssonJr/durn2/contents/{+path}","compare_url":"https://api.github.com/repos/MrLarssonJr/durn2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MrLarssonJr/durn2/merges","archive_url":"https://api.github.com/repos/MrLarssonJr/durn2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MrLarssonJr/durn2/downloads","issues_url":"https://api.github.com/repos/MrLarssonJr/durn2/issues{/number}","pulls_url":"https://api.github.com/repos/MrLarssonJr/durn2/pulls{/number}","milestones_url":"https://api.github.com/repos/MrLarssonJr/durn2/milestones{/number}","notifications_url":"https://api.github.com/repos/MrLarssonJr/durn2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MrLarssonJr/durn2/labels{/name}","releases_url":"https://api.github.com/repos/MrLarssonJr/durn2/releases{/id}","deployments_url":"https://api.github.com/repos/MrLarssonJr/durn2/deployments","created_at":"2019-12-07T22:27:47Z","updated_at":"2019-12-07T23:59:09Z","pushed_at":"2019-12-10T21:54:58Z","git_url":"git://github.com/MrLarssonJr/durn2.git","ssh_url":"git@github.com:MrLarssonJr/durn2.git","clone_url":"https://github.com/MrLarssonJr/durn2.git","svn_url":"https://github.com/MrLarssonJr/durn2","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"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,"disabled":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MrLarssonJr/durn2/pulls/2"},"html":{"href":"https://github.com/MrLarssonJr/durn2/pull/2"},"issue":{"href":"https://api.github.com/repos/MrLarssonJr/durn2/issues/2"},"comments":{"href":"https://api.github.com/repos/MrLarssonJr/durn2/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/MrLarssonJr/durn2/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/MrLarssonJr/durn2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MrLarssonJr/durn2/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/MrLarssonJr/durn2/statuses/7aa6d55497462b3ed543d602ce3679857b97e14f"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"MrLarssonJr","id":4522613,"node_id":"MDQ6VXNlcjQ1MjI2MTM=","avatar_url":"https://avatars1.githubusercontent.com/u/4522613?v=4","gravatar_id":"","url":"https://api.github.com/users/MrLarssonJr","html_url":"https://github.com/MrLarssonJr","followers_url":"https://api.github.com/users/MrLarssonJr/followers","following_url":"https://api.github.com/users/MrLarssonJr/following{/other_user}","gists_url":"https://api.github.com/users/MrLarssonJr/gists{/gist_id}","starred_url":"https://api.github.com/users/MrLarssonJr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrLarssonJr/subscriptions","organizations_url":"https://api.github.com/users/MrLarssonJr/orgs","repos_url":"https://api.github.com/users/MrLarssonJr/repos","events_url":"https://api.github.com/users/MrLarssonJr/events{/privacy}","received_events_url":"https://api.github.com/users/MrLarssonJr/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":19,"deletions":4,"changed_files":1}}
other: {"actor":{"display_login":"MrLarssonJr"}}