{"action":"closed","number":28,"pull_request":{"url":"https://api.github.com/repos/cweill/gotests/pulls/28","id":91243153,"html_url":"https://github.com/cweill/gotests/pull/28","diff_url":"https://github.com/cweill/gotests/pull/28.diff","patch_url":"https://github.com/cweill/gotests/pull/28.patch","issue_url":"https://api.github.com/repos/cweill/gotests/issues/28","number":28,"state":"closed","locked":false,"title":"Add subtests support to template.","user":{"login":"itsjamie","id":1956521,"avatar_url":"https://avatars.githubusercontent.com/u/1956521?v=3","gravatar_id":"","url":"https://api.github.com/users/itsjamie","html_url":"https://github.com/itsjamie","followers_url":"https://api.github.com/users/itsjamie/followers","following_url":"https://api.github.com/users/itsjamie/following{/other_user}","gists_url":"https://api.github.com/users/itsjamie/gists{/gist_id}","starred_url":"https://api.github.com/users/itsjamie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsjamie/subscriptions","organizations_url":"https://api.github.com/users/itsjamie/orgs","repos_url":"https://api.github.com/users/itsjamie/repos","events_url":"https://api.github.com/users/itsjamie/events{/privacy}","received_events_url":"https://api.github.com/users/itsjamie/received_events","type":"User","site_admin":false},"body":"Used an if block and duplicated because of wanting to keep the tabbing\nconsistent. There might be some way to make it so you don't need to\nduplicate?\n","created_at":"2016-10-27T17:11:35Z","updated_at":"2016-11-07T17:53:26Z","closed_at":"2016-11-07T17:53:26Z","merged_at":"2016-11-07T17:53:26Z","merge_commit_sha":"68fbe27a3e394fb9e3fd500b607b86b0363cd889","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cweill/gotests/pulls/28/commits","review_comments_url":"https://api.github.com/repos/cweill/gotests/pulls/28/comments","review_comment_url":"https://api.github.com/repos/cweill/gotests/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cweill/gotests/issues/28/comments","statuses_url":"https://api.github.com/repos/cweill/gotests/statuses/802f0b3bd0da71a36899c7297d7cf015e6c4c543","head":{"label":"itsjamie:master","ref":"master","sha":"802f0b3bd0da71a36899c7297d7cf015e6c4c543","user":{"login":"itsjamie","id":1956521,"avatar_url":"https://avatars.githubusercontent.com/u/1956521?v=3","gravatar_id":"","url":"https://api.github.com/users/itsjamie","html_url":"https://github.com/itsjamie","followers_url":"https://api.github.com/users/itsjamie/followers","following_url":"https://api.github.com/users/itsjamie/following{/other_user}","gists_url":"https://api.github.com/users/itsjamie/gists{/gist_id}","starred_url":"https://api.github.com/users/itsjamie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsjamie/subscriptions","organizations_url":"https://api.github.com/users/itsjamie/orgs","repos_url":"https://api.github.com/users/itsjamie/repos","events_url":"https://api.github.com/users/itsjamie/events{/privacy}","received_events_url":"https://api.github.com/users/itsjamie/received_events","type":"User","site_admin":false},"repo":{"id":71502384,"name":"gotests","full_name":"itsjamie/gotests","owner":{"login":"itsjamie","id":1956521,"avatar_url":"https://avatars.githubusercontent.com/u/1956521?v=3","gravatar_id":"","url":"https://api.github.com/users/itsjamie","html_url":"https://github.com/itsjamie","followers_url":"https://api.github.com/users/itsjamie/followers","following_url":"https://api.github.com/users/itsjamie/following{/other_user}","gists_url":"https://api.github.com/users/itsjamie/gists{/gist_id}","starred_url":"https://api.github.com/users/itsjamie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsjamie/subscriptions","organizations_url":"https://api.github.com/users/itsjamie/orgs","repos_url":"https://api.github.com/users/itsjamie/repos","events_url":"https://api.github.com/users/itsjamie/events{/privacy}","received_events_url":"https://api.github.com/users/itsjamie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itsjamie/gotests","description":"Generate Go tests from your source code.","fork":true,"url":"https://api.github.com/repos/itsjamie/gotests","forks_url":"https://api.github.com/repos/itsjamie/gotests/forks","keys_url":"https://api.github.com/repos/itsjamie/gotests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itsjamie/gotests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itsjamie/gotests/teams","hooks_url":"https://api.github.com/repos/itsjamie/gotests/hooks","issue_events_url":"https://api.github.com/repos/itsjamie/gotests/issues/events{/number}","events_url":"https://api.github.com/repos/itsjamie/gotests/events","assignees_url":"https://api.github.com/repos/itsjamie/gotests/assignees{/user}","branches_url":"https://api.github.com/repos/itsjamie/gotests/branches{/branch}","tags_url":"https://api.github.com/repos/itsjamie/gotests/tags","blobs_url":"https://api.github.com/repos/itsjamie/gotests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itsjamie/gotests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itsjamie/gotests/git/refs{/sha}","trees_url":"https://api.github.com/repos/itsjamie/gotests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itsjamie/gotests/statuses/{sha}","languages_url":"https://api.github.com/repos/itsjamie/gotests/languages","stargazers_url":"https://api.github.com/repos/itsjamie/gotests/stargazers","contributors_url":"https://api.github.com/repos/itsjamie/gotests/contributors","subscribers_url":"https://api.github.com/repos/itsjamie/gotests/subscribers","subscription_url":"https://api.github.com/repos/itsjamie/gotests/subscription","commits_url":"https://api.github.com/repos/itsjamie/gotests/commits{/sha}","git_commits_url":"https://api.github.com/repos/itsjamie/gotests/git/commits{/sha}","comments_url":"https://api.github.com/repos/itsjamie/gotests/comments{/number}","issue_comment_url":"https://api.github.com/repos/itsjamie/gotests/issues/comments{/number}","contents_url":"https://api.github.com/repos/itsjamie/gotests/contents/{+path}","compare_url":"https://api.github.com/repos/itsjamie/gotests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itsjamie/gotests/merges","archive_url":"https://api.github.com/repos/itsjamie/gotests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itsjamie/gotests/downloads","issues_url":"https://api.github.com/repos/itsjamie/gotests/issues{/number}","pulls_url":"https://api.github.com/repos/itsjamie/gotests/pulls{/number}","milestones_url":"https://api.github.com/repos/itsjamie/gotests/milestones{/number}","notifications_url":"https://api.github.com/repos/itsjamie/gotests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itsjamie/gotests/labels{/name}","releases_url":"https://api.github.com/repos/itsjamie/gotests/releases{/id}","deployments_url":"https://api.github.com/repos/itsjamie/gotests/deployments","created_at":"2016-10-20T20:36:55Z","updated_at":"2016-10-20T20:36:56Z","pushed_at":"2016-11-07T14:04:48Z","git_url":"git://github.com/itsjamie/gotests.git","ssh_url":"git@github.com:itsjamie/gotests.git","clone_url":"https://github.com/itsjamie/gotests.git","svn_url":"https://github.com/itsjamie/gotests","homepage":"","size":12670,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cweill:master","ref":"master","sha":"e4c69031f6cd46705624a3d727cdc2bb80e5a58c","user":{"login":"cweill","id":2343711,"avatar_url":"https://avatars.githubusercontent.com/u/2343711?v=3","gravatar_id":"","url":"https://api.github.com/users/cweill","html_url":"https://github.com/cweill","followers_url":"https://api.github.com/users/cweill/followers","following_url":"https://api.github.com/users/cweill/following{/other_user}","gists_url":"https://api.github.com/users/cweill/gists{/gist_id}","starred_url":"https://api.github.com/users/cweill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cweill/subscriptions","organizations_url":"https://api.github.com/users/cweill/orgs","repos_url":"https://api.github.com/users/cweill/repos","events_url":"https://api.github.com/users/cweill/events{/privacy}","received_events_url":"https://api.github.com/users/cweill/received_events","type":"User","site_admin":false},"repo":{"id":49927767,"name":"gotests","full_name":"cweill/gotests","owner":{"login":"cweill","id":2343711,"avatar_url":"https://avatars.githubusercontent.com/u/2343711?v=3","gravatar_id":"","url":"https://api.github.com/users/cweill","html_url":"https://github.com/cweill","followers_url":"https://api.github.com/users/cweill/followers","following_url":"https://api.github.com/users/cweill/following{/other_user}","gists_url":"https://api.github.com/users/cweill/gists{/gist_id}","starred_url":"https://api.github.com/users/cweill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cweill/subscriptions","organizations_url":"https://api.github.com/users/cweill/orgs","repos_url":"https://api.github.com/users/cweill/repos","events_url":"https://api.github.com/users/cweill/events{/privacy}","received_events_url":"https://api.github.com/users/cweill/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cweill/gotests","description":"Generate Go tests from your source code.","fork":false,"url":"https://api.github.com/repos/cweill/gotests","forks_url":"https://api.github.com/repos/cweill/gotests/forks","keys_url":"https://api.github.com/repos/cweill/gotests/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cweill/gotests/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cweill/gotests/teams","hooks_url":"https://api.github.com/repos/cweill/gotests/hooks","issue_events_url":"https://api.github.com/repos/cweill/gotests/issues/events{/number}","events_url":"https://api.github.com/repos/cweill/gotests/events","assignees_url":"https://api.github.com/repos/cweill/gotests/assignees{/user}","branches_url":"https://api.github.com/repos/cweill/gotests/branches{/branch}","tags_url":"https://api.github.com/repos/cweill/gotests/tags","blobs_url":"https://api.github.com/repos/cweill/gotests/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cweill/gotests/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cweill/gotests/git/refs{/sha}","trees_url":"https://api.github.com/repos/cweill/gotests/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cweill/gotests/statuses/{sha}","languages_url":"https://api.github.com/repos/cweill/gotests/languages","stargazers_url":"https://api.github.com/repos/cweill/gotests/stargazers","contributors_url":"https://api.github.com/repos/cweill/gotests/contributors","subscribers_url":"https://api.github.com/repos/cweill/gotests/subscribers","subscription_url":"https://api.github.com/repos/cweill/gotests/subscription","commits_url":"https://api.github.com/repos/cweill/gotests/commits{/sha}","git_commits_url":"https://api.github.com/repos/cweill/gotests/git/commits{/sha}","comments_url":"https://api.github.com/repos/cweill/gotests/comments{/number}","issue_comment_url":"https://api.github.com/repos/cweill/gotests/issues/comments{/number}","contents_url":"https://api.github.com/repos/cweill/gotests/contents/{+path}","compare_url":"https://api.github.com/repos/cweill/gotests/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cweill/gotests/merges","archive_url":"https://api.github.com/repos/cweill/gotests/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cweill/gotests/downloads","issues_url":"https://api.github.com/repos/cweill/gotests/issues{/number}","pulls_url":"https://api.github.com/repos/cweill/gotests/pulls{/number}","milestones_url":"https://api.github.com/repos/cweill/gotests/milestones{/number}","notifications_url":"https://api.github.com/repos/cweill/gotests/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cweill/gotests/labels{/name}","releases_url":"https://api.github.com/repos/cweill/gotests/releases{/id}","deployments_url":"https://api.github.com/repos/cweill/gotests/deployments","created_at":"2016-01-19T05:06:02Z","updated_at":"2016-11-07T06:43:09Z","pushed_at":"2016-11-07T17:53:26Z","git_url":"git://github.com/cweill/gotests.git","ssh_url":"git@github.com:cweill/gotests.git","clone_url":"https://github.com/cweill/gotests.git","svn_url":"https://github.com/cweill/gotests","homepage":"","size":12654,"stargazers_count":305,"watchers_count":305,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":8,"forks":7,"open_issues":8,"watchers":305,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cweill/gotests/pulls/28"},"html":{"href":"https://github.com/cweill/gotests/pull/28"},"issue":{"href":"https://api.github.com/repos/cweill/gotests/issues/28"},"comments":{"href":"https://api.github.com/repos/cweill/gotests/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/cweill/gotests/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/cweill/gotests/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cweill/gotests/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/cweill/gotests/statuses/802f0b3bd0da71a36899c7297d7cf015e6c4c543"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cweill","id":2343711,"avatar_url":"https://avatars.githubusercontent.com/u/2343711?v=3","gravatar_id":"","url":"https://api.github.com/users/cweill","html_url":"https://github.com/cweill","followers_url":"https://api.github.com/users/cweill/followers","following_url":"https://api.github.com/users/cweill/following{/other_user}","gists_url":"https://api.github.com/users/cweill/gists{/gist_id}","starred_url":"https://api.github.com/users/cweill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cweill/subscriptions","organizations_url":"https://api.github.com/users/cweill/orgs","repos_url":"https://api.github.com/users/cweill/repos","events_url":"https://api.github.com/users/cweill/events{/privacy}","received_events_url":"https://api.github.com/users/cweill/received_events","type":"User","site_admin":false},"comments":25,"review_comments":8,"commits":7,"additions":194,"deletions":51,"changed_files":13}}
{"actor":{"display_login":"cweill"}}