{"action":"created","comment":{"url":"https://api.github.com/repos/calebthompson/ftree/pulls/comments/40960009","id":40960009,"diff_hunk":"@@ -0,0 +1,19 @@\n+package main\n+\n+import (\n+\t\"bufio\"\n+\t\"os\"\n+\n+\t\"github.com/calebthompson/ftree/tree\"\n+)\n+\n+func main() {\n+\tr := bufio.NewScanner(os.Stdin)","path":"main.go","position":11,"original_position":11,"commit_id":"35607c5e26563394f1b2dfc661131ced16971977","original_commit_id":"35607c5e26563394f1b2dfc661131ced16971977","user":{"login":"calebthompson","id":711717,"avatar_url":"https://avatars.githubusercontent.com/u/711717?v=3","gravatar_id":"","url":"https://api.github.com/users/calebthompson","html_url":"https://github.com/calebthompson","followers_url":"https://api.github.com/users/calebthompson/followers","following_url":"https://api.github.com/users/calebthompson/following{/other_user}","gists_url":"https://api.github.com/users/calebthompson/gists{/gist_id}","starred_url":"https://api.github.com/users/calebthompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebthompson/subscriptions","organizations_url":"https://api.github.com/users/calebthompson/orgs","repos_url":"https://api.github.com/users/calebthompson/repos","events_url":"https://api.github.com/users/calebthompson/events{/privacy}","received_events_url":"https://api.github.com/users/calebthompson/received_events","type":"User","site_admin":false},"body":"No I'm just being a jerk the name should change.","created_at":"2015-10-01T20:08:47Z","updated_at":"2015-10-01T20:08:47Z","html_url":"https://github.com/calebthompson/ftree/pull/2#discussion_r40960009","pull_request_url":"https://api.github.com/repos/calebthompson/ftree/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/calebthompson/ftree/pulls/comments/40960009"},"html":{"href":"https://github.com/calebthompson/ftree/pull/2#discussion_r40960009"},"pull_request":{"href":"https://api.github.com/repos/calebthompson/ftree/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/calebthompson/ftree/pulls/2","id":46459162,"html_url":"https://github.com/calebthompson/ftree/pull/2","diff_url":"https://github.com/calebthompson/ftree/pull/2.diff","patch_url":"https://github.com/calebthompson/ftree/pull/2.patch","issue_url":"https://api.github.com/repos/calebthompson/ftree/issues/2","number":2,"state":"open","locked":false,"title":"Reorganize and add tests","user":{"login":"calebthompson","id":711717,"avatar_url":"https://avatars.githubusercontent.com/u/711717?v=3","gravatar_id":"","url":"https://api.github.com/users/calebthompson","html_url":"https://github.com/calebthompson","followers_url":"https://api.github.com/users/calebthompson/followers","following_url":"https://api.github.com/users/calebthompson/following{/other_user}","gists_url":"https://api.github.com/users/calebthompson/gists{/gist_id}","starred_url":"https://api.github.com/users/calebthompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebthompson/subscriptions","organizations_url":"https://api.github.com/users/calebthompson/orgs","repos_url":"https://api.github.com/users/calebthompson/repos","events_url":"https://api.github.com/users/calebthompson/events{/privacy}","received_events_url":"https://api.github.com/users/calebthompson/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-30T21:28:46Z","updated_at":"2015-10-01T20:08:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b5390f200a4a9cff11d597972663344113eaf2c9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/calebthompson/ftree/pulls/2/commits","review_comments_url":"https://api.github.com/repos/calebthompson/ftree/pulls/2/comments","review_comment_url":"https://api.github.com/repos/calebthompson/ftree/pulls/comments{/number}","comments_url":"https://api.github.com/repos/calebthompson/ftree/issues/2/comments","statuses_url":"https://api.github.com/repos/calebthompson/ftree/statuses/35607c5e26563394f1b2dfc661131ced16971977","head":{"label":"calebthompson:ct-testing","ref":"ct-testing","sha":"35607c5e26563394f1b2dfc661131ced16971977","user":{"login":"calebthompson","id":711717,"avatar_url":"https://avatars.githubusercontent.com/u/711717?v=3","gravatar_id":"","url":"https://api.github.com/users/calebthompson","html_url":"https://github.com/calebthompson","followers_url":"https://api.github.com/users/calebthompson/followers","following_url":"https://api.github.com/users/calebthompson/following{/other_user}","gists_url":"https://api.github.com/users/calebthompson/gists{/gist_id}","starred_url":"https://api.github.com/users/calebthompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebthompson/subscriptions","organizations_url":"https://api.github.com/users/calebthompson/orgs","repos_url":"https://api.github.com/users/calebthompson/repos","events_url":"https://api.github.com/users/calebthompson/events{/privacy}","received_events_url":"https://api.github.com/users/calebthompson/received_events","type":"User","site_admin":false},"repo":{"id":43403193,"name":"ftree","full_name":"calebthompson/ftree","owner":{"login":"calebthompson","id":711717,"avatar_url":"https://avatars.githubusercontent.com/u/711717?v=3","gravatar_id":"","url":"https://api.github.com/users/calebthompson","html_url":"https://github.com/calebthompson","followers_url":"https://api.github.com/users/calebthompson/followers","following_url":"https://api.github.com/users/calebthompson/following{/other_user}","gists_url":"https://api.github.com/users/calebthompson/gists{/gist_id}","starred_url":"https://api.github.com/users/calebthompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebthompson/subscriptions","organizations_url":"https://api.github.com/users/calebthompson/orgs","repos_url":"https://api.github.com/users/calebthompson/repos","events_url":"https://api.github.com/users/calebthompson/events{/privacy}","received_events_url":"https://api.github.com/users/calebthompson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/calebthompson/ftree","description":"tree, but from stdin","fork":false,"url":"https://api.github.com/repos/calebthompson/ftree","forks_url":"https://api.github.com/repos/calebthompson/ftree/forks","keys_url":"https://api.github.com/repos/calebthompson/ftree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calebthompson/ftree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calebthompson/ftree/teams","hooks_url":"https://api.github.com/repos/calebthompson/ftree/hooks","issue_events_url":"https://api.github.com/repos/calebthompson/ftree/issues/events{/number}","events_url":"https://api.github.com/repos/calebthompson/ftree/events","assignees_url":"https://api.github.com/repos/calebthompson/ftree/assignees{/user}","branches_url":"https://api.github.com/repos/calebthompson/ftree/branches{/branch}","tags_url":"https://api.github.com/repos/calebthompson/ftree/tags","blobs_url":"https://api.github.com/repos/calebthompson/ftree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calebthompson/ftree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calebthompson/ftree/git/refs{/sha}","trees_url":"https://api.github.com/repos/calebthompson/ftree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calebthompson/ftree/statuses/{sha}","languages_url":"https://api.github.com/repos/calebthompson/ftree/languages","stargazers_url":"https://api.github.com/repos/calebthompson/ftree/stargazers","contributors_url":"https://api.github.com/repos/calebthompson/ftree/contributors","subscribers_url":"https://api.github.com/repos/calebthompson/ftree/subscribers","subscription_url":"https://api.github.com/repos/calebthompson/ftree/subscription","commits_url":"https://api.github.com/repos/calebthompson/ftree/commits{/sha}","git_commits_url":"https://api.github.com/repos/calebthompson/ftree/git/commits{/sha}","comments_url":"https://api.github.com/repos/calebthompson/ftree/comments{/number}","issue_comment_url":"https://api.github.com/repos/calebthompson/ftree/issues/comments{/number}","contents_url":"https://api.github.com/repos/calebthompson/ftree/contents/{+path}","compare_url":"https://api.github.com/repos/calebthompson/ftree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calebthompson/ftree/merges","archive_url":"https://api.github.com/repos/calebthompson/ftree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calebthompson/ftree/downloads","issues_url":"https://api.github.com/repos/calebthompson/ftree/issues{/number}","pulls_url":"https://api.github.com/repos/calebthompson/ftree/pulls{/number}","milestones_url":"https://api.github.com/repos/calebthompson/ftree/milestones{/number}","notifications_url":"https://api.github.com/repos/calebthompson/ftree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calebthompson/ftree/labels{/name}","releases_url":"https://api.github.com/repos/calebthompson/ftree/releases{/id}","created_at":"2015-09-30T00:54:56Z","updated_at":"2015-10-01T15:14:17Z","pushed_at":"2015-10-01T00:18:34Z","git_url":"git://github.com/calebthompson/ftree.git","ssh_url":"git@github.com:calebthompson/ftree.git","clone_url":"https://github.com/calebthompson/ftree.git","svn_url":"https://github.com/calebthompson/ftree","homepage":"http://calebthompson.io","size":0,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"base":{"label":"calebthompson:master","ref":"master","sha":"a46b2b5b0f2b093e36ba99cfa63410bce0eef561","user":{"login":"calebthompson","id":711717,"avatar_url":"https://avatars.githubusercontent.com/u/711717?v=3","gravatar_id":"","url":"https://api.github.com/users/calebthompson","html_url":"https://github.com/calebthompson","followers_url":"https://api.github.com/users/calebthompson/followers","following_url":"https://api.github.com/users/calebthompson/following{/other_user}","gists_url":"https://api.github.com/users/calebthompson/gists{/gist_id}","starred_url":"https://api.github.com/users/calebthompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebthompson/subscriptions","organizations_url":"https://api.github.com/users/calebthompson/orgs","repos_url":"https://api.github.com/users/calebthompson/repos","events_url":"https://api.github.com/users/calebthompson/events{/privacy}","received_events_url":"https://api.github.com/users/calebthompson/received_events","type":"User","site_admin":false},"repo":{"id":43403193,"name":"ftree","full_name":"calebthompson/ftree","owner":{"login":"calebthompson","id":711717,"avatar_url":"https://avatars.githubusercontent.com/u/711717?v=3","gravatar_id":"","url":"https://api.github.com/users/calebthompson","html_url":"https://github.com/calebthompson","followers_url":"https://api.github.com/users/calebthompson/followers","following_url":"https://api.github.com/users/calebthompson/following{/other_user}","gists_url":"https://api.github.com/users/calebthompson/gists{/gist_id}","starred_url":"https://api.github.com/users/calebthompson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calebthompson/subscriptions","organizations_url":"https://api.github.com/users/calebthompson/orgs","repos_url":"https://api.github.com/users/calebthompson/repos","events_url":"https://api.github.com/users/calebthompson/events{/privacy}","received_events_url":"https://api.github.com/users/calebthompson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/calebthompson/ftree","description":"tree, but from stdin","fork":false,"url":"https://api.github.com/repos/calebthompson/ftree","forks_url":"https://api.github.com/repos/calebthompson/ftree/forks","keys_url":"https://api.github.com/repos/calebthompson/ftree/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calebthompson/ftree/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calebthompson/ftree/teams","hooks_url":"https://api.github.com/repos/calebthompson/ftree/hooks","issue_events_url":"https://api.github.com/repos/calebthompson/ftree/issues/events{/number}","events_url":"https://api.github.com/repos/calebthompson/ftree/events","assignees_url":"https://api.github.com/repos/calebthompson/ftree/assignees{/user}","branches_url":"https://api.github.com/repos/calebthompson/ftree/branches{/branch}","tags_url":"https://api.github.com/repos/calebthompson/ftree/tags","blobs_url":"https://api.github.com/repos/calebthompson/ftree/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calebthompson/ftree/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calebthompson/ftree/git/refs{/sha}","trees_url":"https://api.github.com/repos/calebthompson/ftree/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calebthompson/ftree/statuses/{sha}","languages_url":"https://api.github.com/repos/calebthompson/ftree/languages","stargazers_url":"https://api.github.com/repos/calebthompson/ftree/stargazers","contributors_url":"https://api.github.com/repos/calebthompson/ftree/contributors","subscribers_url":"https://api.github.com/repos/calebthompson/ftree/subscribers","subscription_url":"https://api.github.com/repos/calebthompson/ftree/subscription","commits_url":"https://api.github.com/repos/calebthompson/ftree/commits{/sha}","git_commits_url":"https://api.github.com/repos/calebthompson/ftree/git/commits{/sha}","comments_url":"https://api.github.com/repos/calebthompson/ftree/comments{/number}","issue_comment_url":"https://api.github.com/repos/calebthompson/ftree/issues/comments{/number}","contents_url":"https://api.github.com/repos/calebthompson/ftree/contents/{+path}","compare_url":"https://api.github.com/repos/calebthompson/ftree/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calebthompson/ftree/merges","archive_url":"https://api.github.com/repos/calebthompson/ftree/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calebthompson/ftree/downloads","issues_url":"https://api.github.com/repos/calebthompson/ftree/issues{/number}","pulls_url":"https://api.github.com/repos/calebthompson/ftree/pulls{/number}","milestones_url":"https://api.github.com/repos/calebthompson/ftree/milestones{/number}","notifications_url":"https://api.github.com/repos/calebthompson/ftree/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calebthompson/ftree/labels{/name}","releases_url":"https://api.github.com/repos/calebthompson/ftree/releases{/id}","created_at":"2015-09-30T00:54:56Z","updated_at":"2015-10-01T15:14:17Z","pushed_at":"2015-10-01T00:18:34Z","git_url":"git://github.com/calebthompson/ftree.git","ssh_url":"git@github.com:calebthompson/ftree.git","clone_url":"https://github.com/calebthompson/ftree.git","svn_url":"https://github.com/calebthompson/ftree","homepage":"http://calebthompson.io","size":0,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/calebthompson/ftree/pulls/2"},"html":{"href":"https://github.com/calebthompson/ftree/pull/2"},"issue":{"href":"https://api.github.com/repos/calebthompson/ftree/issues/2"},"comments":{"href":"https://api.github.com/repos/calebthompson/ftree/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/calebthompson/ftree/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/calebthompson/ftree/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/calebthompson/ftree/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/calebthompson/ftree/statuses/35607c5e26563394f1b2dfc661131ced16971977"}}}}