{"action":"created","comment":{"url":"https://api.github.com/repos/ckundo/go-demo/pulls/comments/55579497","id":55579497,"diff_hunk":"@@ -0,0 +1,22 @@\n+package main\n+\n+import(\n+\t\"github.com/julienschmidt/httprouter\"\n+\t\"net/http\"\n+\t\"net/http/httptest\"\n+\t\"testing\"\n+)\n+\n+func TestRequests(t *testing.T) {\n+\tts := httprouter.New()\n+\tw := httptest.NewRecorder()\n+\tr, _ := http.NewRequest(\"GET\", \"/\", nil)\n+\n+\taddRoutes(ts)\n+\n+\tts.ServeHTTP(w, r)","path":"integration_test.go","position":17,"original_position":17,"commit_id":"c72b6f14f15442270e9aac20cc2a6ad231de361c","original_commit_id":"c72b6f14f15442270e9aac20cc2a6ad231de361c","user":{"login":"bernerdschaefer","id":193,"avatar_url":"https://avatars.githubusercontent.com/u/193?v=3","gravatar_id":"","url":"https://api.github.com/users/bernerdschaefer","html_url":"https://github.com/bernerdschaefer","followers_url":"https://api.github.com/users/bernerdschaefer/followers","following_url":"https://api.github.com/users/bernerdschaefer/following{/other_user}","gists_url":"https://api.github.com/users/bernerdschaefer/gists{/gist_id}","starred_url":"https://api.github.com/users/bernerdschaefer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernerdschaefer/subscriptions","organizations_url":"https://api.github.com/users/bernerdschaefer/orgs","repos_url":"https://api.github.com/users/bernerdschaefer/repos","events_url":"https://api.github.com/users/bernerdschaefer/events{/privacy}","received_events_url":"https://api.github.com/users/bernerdschaefer/received_events","type":"User","site_admin":false},"body":"Nice.","created_at":"2016-03-09T20:00:11Z","updated_at":"2016-03-09T20:00:11Z","html_url":"https://github.com/ckundo/go-demo/pull/1#discussion_r55579497","pull_request_url":"https://api.github.com/repos/ckundo/go-demo/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/ckundo/go-demo/pulls/comments/55579497"},"html":{"href":"https://github.com/ckundo/go-demo/pull/1#discussion_r55579497"},"pull_request":{"href":"https://api.github.com/repos/ckundo/go-demo/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ckundo/go-demo/pulls/1","id":62284298,"html_url":"https://github.com/ckundo/go-demo/pull/1","diff_url":"https://github.com/ckundo/go-demo/pull/1.diff","patch_url":"https://github.com/ckundo/go-demo/pull/1.patch","issue_url":"https://api.github.com/repos/ckundo/go-demo/issues/1","number":1,"state":"open","locked":false,"title":"Web app that responds to \"/\" with 200 response","user":{"login":"ckundo","id":108163,"avatar_url":"https://avatars.githubusercontent.com/u/108163?v=3","gravatar_id":"","url":"https://api.github.com/users/ckundo","html_url":"https://github.com/ckundo","followers_url":"https://api.github.com/users/ckundo/followers","following_url":"https://api.github.com/users/ckundo/following{/other_user}","gists_url":"https://api.github.com/users/ckundo/gists{/gist_id}","starred_url":"https://api.github.com/users/ckundo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckundo/subscriptions","organizations_url":"https://api.github.com/users/ckundo/orgs","repos_url":"https://api.github.com/users/ckundo/repos","events_url":"https://api.github.com/users/ckundo/events{/privacy}","received_events_url":"https://api.github.com/users/ckundo/received_events","type":"User","site_admin":false},"body":"- Uses httprouter to define routes\n- Extract route setup into a method so it can be called in tests with a\n  test server.","created_at":"2016-03-09T19:43:50Z","updated_at":"2016-03-09T20:00:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67c569f4300606887b8413cd0473d5472fcb5f52","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ckundo/go-demo/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ckundo/go-demo/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ckundo/go-demo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ckundo/go-demo/issues/1/comments","statuses_url":"https://api.github.com/repos/ckundo/go-demo/statuses/c72b6f14f15442270e9aac20cc2a6ad231de361c","head":{"label":"ckundo:cc-integration-test","ref":"cc-integration-test","sha":"c72b6f14f15442270e9aac20cc2a6ad231de361c","user":{"login":"ckundo","id":108163,"avatar_url":"https://avatars.githubusercontent.com/u/108163?v=3","gravatar_id":"","url":"https://api.github.com/users/ckundo","html_url":"https://github.com/ckundo","followers_url":"https://api.github.com/users/ckundo/followers","following_url":"https://api.github.com/users/ckundo/following{/other_user}","gists_url":"https://api.github.com/users/ckundo/gists{/gist_id}","starred_url":"https://api.github.com/users/ckundo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckundo/subscriptions","organizations_url":"https://api.github.com/users/ckundo/orgs","repos_url":"https://api.github.com/users/ckundo/repos","events_url":"https://api.github.com/users/ckundo/events{/privacy}","received_events_url":"https://api.github.com/users/ckundo/received_events","type":"User","site_admin":false},"repo":{"id":53449214,"name":"go-demo","full_name":"ckundo/go-demo","owner":{"login":"ckundo","id":108163,"avatar_url":"https://avatars.githubusercontent.com/u/108163?v=3","gravatar_id":"","url":"https://api.github.com/users/ckundo","html_url":"https://github.com/ckundo","followers_url":"https://api.github.com/users/ckundo/followers","following_url":"https://api.github.com/users/ckundo/following{/other_user}","gists_url":"https://api.github.com/users/ckundo/gists{/gist_id}","starred_url":"https://api.github.com/users/ckundo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckundo/subscriptions","organizations_url":"https://api.github.com/users/ckundo/orgs","repos_url":"https://api.github.com/users/ckundo/repos","events_url":"https://api.github.com/users/ckundo/events{/privacy}","received_events_url":"https://api.github.com/users/ckundo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ckundo/go-demo","description":null,"fork":false,"url":"https://api.github.com/repos/ckundo/go-demo","forks_url":"https://api.github.com/repos/ckundo/go-demo/forks","keys_url":"https://api.github.com/repos/ckundo/go-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ckundo/go-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ckundo/go-demo/teams","hooks_url":"https://api.github.com/repos/ckundo/go-demo/hooks","issue_events_url":"https://api.github.com/repos/ckundo/go-demo/issues/events{/number}","events_url":"https://api.github.com/repos/ckundo/go-demo/events","assignees_url":"https://api.github.com/repos/ckundo/go-demo/assignees{/user}","branches_url":"https://api.github.com/repos/ckundo/go-demo/branches{/branch}","tags_url":"https://api.github.com/repos/ckundo/go-demo/tags","blobs_url":"https://api.github.com/repos/ckundo/go-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ckundo/go-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ckundo/go-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ckundo/go-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ckundo/go-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/ckundo/go-demo/languages","stargazers_url":"https://api.github.com/repos/ckundo/go-demo/stargazers","contributors_url":"https://api.github.com/repos/ckundo/go-demo/contributors","subscribers_url":"https://api.github.com/repos/ckundo/go-demo/subscribers","subscription_url":"https://api.github.com/repos/ckundo/go-demo/subscription","commits_url":"https://api.github.com/repos/ckundo/go-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ckundo/go-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ckundo/go-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ckundo/go-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ckundo/go-demo/contents/{+path}","compare_url":"https://api.github.com/repos/ckundo/go-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ckundo/go-demo/merges","archive_url":"https://api.github.com/repos/ckundo/go-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ckundo/go-demo/downloads","issues_url":"https://api.github.com/repos/ckundo/go-demo/issues{/number}","pulls_url":"https://api.github.com/repos/ckundo/go-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/ckundo/go-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/ckundo/go-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ckundo/go-demo/labels{/name}","releases_url":"https://api.github.com/repos/ckundo/go-demo/releases{/id}","deployments_url":"https://api.github.com/repos/ckundo/go-demo/deployments","created_at":"2016-03-08T22:15:32Z","updated_at":"2016-03-08T22:31:57Z","pushed_at":"2016-03-09T19:43:50Z","git_url":"git://github.com/ckundo/go-demo.git","ssh_url":"git@github.com:ckundo/go-demo.git","clone_url":"https://github.com/ckundo/go-demo.git","svn_url":"https://github.com/ckundo/go-demo","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ckundo:master","ref":"master","sha":"8ae19a26f4281c6670ef0f9b48fe30cee4b90048","user":{"login":"ckundo","id":108163,"avatar_url":"https://avatars.githubusercontent.com/u/108163?v=3","gravatar_id":"","url":"https://api.github.com/users/ckundo","html_url":"https://github.com/ckundo","followers_url":"https://api.github.com/users/ckundo/followers","following_url":"https://api.github.com/users/ckundo/following{/other_user}","gists_url":"https://api.github.com/users/ckundo/gists{/gist_id}","starred_url":"https://api.github.com/users/ckundo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckundo/subscriptions","organizations_url":"https://api.github.com/users/ckundo/orgs","repos_url":"https://api.github.com/users/ckundo/repos","events_url":"https://api.github.com/users/ckundo/events{/privacy}","received_events_url":"https://api.github.com/users/ckundo/received_events","type":"User","site_admin":false},"repo":{"id":53449214,"name":"go-demo","full_name":"ckundo/go-demo","owner":{"login":"ckundo","id":108163,"avatar_url":"https://avatars.githubusercontent.com/u/108163?v=3","gravatar_id":"","url":"https://api.github.com/users/ckundo","html_url":"https://github.com/ckundo","followers_url":"https://api.github.com/users/ckundo/followers","following_url":"https://api.github.com/users/ckundo/following{/other_user}","gists_url":"https://api.github.com/users/ckundo/gists{/gist_id}","starred_url":"https://api.github.com/users/ckundo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckundo/subscriptions","organizations_url":"https://api.github.com/users/ckundo/orgs","repos_url":"https://api.github.com/users/ckundo/repos","events_url":"https://api.github.com/users/ckundo/events{/privacy}","received_events_url":"https://api.github.com/users/ckundo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ckundo/go-demo","description":null,"fork":false,"url":"https://api.github.com/repos/ckundo/go-demo","forks_url":"https://api.github.com/repos/ckundo/go-demo/forks","keys_url":"https://api.github.com/repos/ckundo/go-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ckundo/go-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ckundo/go-demo/teams","hooks_url":"https://api.github.com/repos/ckundo/go-demo/hooks","issue_events_url":"https://api.github.com/repos/ckundo/go-demo/issues/events{/number}","events_url":"https://api.github.com/repos/ckundo/go-demo/events","assignees_url":"https://api.github.com/repos/ckundo/go-demo/assignees{/user}","branches_url":"https://api.github.com/repos/ckundo/go-demo/branches{/branch}","tags_url":"https://api.github.com/repos/ckundo/go-demo/tags","blobs_url":"https://api.github.com/repos/ckundo/go-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ckundo/go-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ckundo/go-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ckundo/go-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ckundo/go-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/ckundo/go-demo/languages","stargazers_url":"https://api.github.com/repos/ckundo/go-demo/stargazers","contributors_url":"https://api.github.com/repos/ckundo/go-demo/contributors","subscribers_url":"https://api.github.com/repos/ckundo/go-demo/subscribers","subscription_url":"https://api.github.com/repos/ckundo/go-demo/subscription","commits_url":"https://api.github.com/repos/ckundo/go-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ckundo/go-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ckundo/go-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ckundo/go-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ckundo/go-demo/contents/{+path}","compare_url":"https://api.github.com/repos/ckundo/go-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ckundo/go-demo/merges","archive_url":"https://api.github.com/repos/ckundo/go-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ckundo/go-demo/downloads","issues_url":"https://api.github.com/repos/ckundo/go-demo/issues{/number}","pulls_url":"https://api.github.com/repos/ckundo/go-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/ckundo/go-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/ckundo/go-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ckundo/go-demo/labels{/name}","releases_url":"https://api.github.com/repos/ckundo/go-demo/releases{/id}","deployments_url":"https://api.github.com/repos/ckundo/go-demo/deployments","created_at":"2016-03-08T22:15:32Z","updated_at":"2016-03-08T22:31:57Z","pushed_at":"2016-03-09T19:43:50Z","git_url":"git://github.com/ckundo/go-demo.git","ssh_url":"git@github.com:ckundo/go-demo.git","clone_url":"https://github.com/ckundo/go-demo.git","svn_url":"https://github.com/ckundo/go-demo","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ckundo/go-demo/pulls/1"},"html":{"href":"https://github.com/ckundo/go-demo/pull/1"},"issue":{"href":"https://api.github.com/repos/ckundo/go-demo/issues/1"},"comments":{"href":"https://api.github.com/repos/ckundo/go-demo/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ckundo/go-demo/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ckundo/go-demo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ckundo/go-demo/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ckundo/go-demo/statuses/c72b6f14f15442270e9aac20cc2a6ad231de361c"}}}}