{"action":"created","comment":{"url":"https://api.github.com/repos/kellydunn/go-art/pulls/comments/52936059","id":52936059,"diff_hunk":"@@ -17,40 +20,90 @@ func NewArtTree() *ArtTree {\n \treturn &ArtTree{root: nil, size: 0}\n }\n \n+type Result struct {\n+\tKey   string\n+\tValue interface{}\n+}","path":"art_tree.go","position":7,"original_position":21,"commit_id":"0459aac5f7531b077c01ff8b1479a94e509b86de","original_commit_id":"fc93bc08daabeccbb29d8d4d95e3b77a4e66d1b4","user":{"login":"kellydunn","id":116621,"avatar_url":"https://avatars.githubusercontent.com/u/116621?v=3","gravatar_id":"","url":"https://api.github.com/users/kellydunn","html_url":"https://github.com/kellydunn","followers_url":"https://api.github.com/users/kellydunn/followers","following_url":"https://api.github.com/users/kellydunn/following{/other_user}","gists_url":"https://api.github.com/users/kellydunn/gists{/gist_id}","starred_url":"https://api.github.com/users/kellydunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kellydunn/subscriptions","organizations_url":"https://api.github.com/users/kellydunn/orgs","repos_url":"https://api.github.com/users/kellydunn/repos","events_url":"https://api.github.com/users/kellydunn/events{/privacy}","received_events_url":"https://api.github.com/users/kellydunn/received_events","type":"User","site_admin":false},"body":"I think there was a PR a few months ago that was never completed that exposed the Key in the Leaf Node.  (https://github.com/kellydunn/go-art/pull/8#issuecomment-151049436)  I think that waiting for that to merge and get finished up might be better before introducing a new exported struct.  What do you think?  Would that be sufficient for your purposes?","created_at":"2016-02-15T19:31:34Z","updated_at":"2016-02-15T19:31:34Z","html_url":"https://github.com/kellydunn/go-art/pull/11#discussion_r52936059","pull_request_url":"https://api.github.com/repos/kellydunn/go-art/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/kellydunn/go-art/pulls/comments/52936059"},"html":{"href":"https://github.com/kellydunn/go-art/pull/11#discussion_r52936059"},"pull_request":{"href":"https://api.github.com/repos/kellydunn/go-art/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/kellydunn/go-art/pulls/11","id":57742331,"html_url":"https://github.com/kellydunn/go-art/pull/11","diff_url":"https://github.com/kellydunn/go-art/pull/11.diff","patch_url":"https://github.com/kellydunn/go-art/pull/11.patch","issue_url":"https://api.github.com/repos/kellydunn/go-art/issues/11","number":11,"state":"open","locked":false,"title":"also resolves #9, channelized interfaces","user":{"login":"fredim","id":431610,"avatar_url":"https://avatars.githubusercontent.com/u/431610?v=3","gravatar_id":"","url":"https://api.github.com/users/fredim","html_url":"https://github.com/fredim","followers_url":"https://api.github.com/users/fredim/followers","following_url":"https://api.github.com/users/fredim/following{/other_user}","gists_url":"https://api.github.com/users/fredim/gists{/gist_id}","starred_url":"https://api.github.com/users/fredim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredim/subscriptions","organizations_url":"https://api.github.com/users/fredim/orgs","repos_url":"https://api.github.com/users/fredim/repos","events_url":"https://api.github.com/users/fredim/events{/privacy}","received_events_url":"https://api.github.com/users/fredim/received_events","type":"User","site_admin":false},"body":"on top of https://github.com/kellydunn/go-art/pull/10 adds a more idiomatic interface to the iterators, using channels as opposed to callbacks.  kept the original api for backwards compatibility","created_at":"2016-01-30T15:38:18Z","updated_at":"2016-02-15T19:31:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f205dfc6f4f6b1a5ae60ed6aeca375bd4b97f036","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kellydunn/go-art/pulls/11/commits","review_comments_url":"https://api.github.com/repos/kellydunn/go-art/pulls/11/comments","review_comment_url":"https://api.github.com/repos/kellydunn/go-art/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kellydunn/go-art/issues/11/comments","statuses_url":"https://api.github.com/repos/kellydunn/go-art/statuses/0459aac5f7531b077c01ff8b1479a94e509b86de","head":{"label":"fredim:prefixchan","ref":"prefixchan","sha":"0459aac5f7531b077c01ff8b1479a94e509b86de","user":{"login":"fredim","id":431610,"avatar_url":"https://avatars.githubusercontent.com/u/431610?v=3","gravatar_id":"","url":"https://api.github.com/users/fredim","html_url":"https://github.com/fredim","followers_url":"https://api.github.com/users/fredim/followers","following_url":"https://api.github.com/users/fredim/following{/other_user}","gists_url":"https://api.github.com/users/fredim/gists{/gist_id}","starred_url":"https://api.github.com/users/fredim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredim/subscriptions","organizations_url":"https://api.github.com/users/fredim/orgs","repos_url":"https://api.github.com/users/fredim/repos","events_url":"https://api.github.com/users/fredim/events{/privacy}","received_events_url":"https://api.github.com/users/fredim/received_events","type":"User","site_admin":false},"repo":{"id":50489218,"name":"go-art","full_name":"fredim/go-art","owner":{"login":"fredim","id":431610,"avatar_url":"https://avatars.githubusercontent.com/u/431610?v=3","gravatar_id":"","url":"https://api.github.com/users/fredim","html_url":"https://github.com/fredim","followers_url":"https://api.github.com/users/fredim/followers","following_url":"https://api.github.com/users/fredim/following{/other_user}","gists_url":"https://api.github.com/users/fredim/gists{/gist_id}","starred_url":"https://api.github.com/users/fredim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredim/subscriptions","organizations_url":"https://api.github.com/users/fredim/orgs","repos_url":"https://api.github.com/users/fredim/repos","events_url":"https://api.github.com/users/fredim/events{/privacy}","received_events_url":"https://api.github.com/users/fredim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fredim/go-art","description":"an adaptive radix tree implementation in go","fork":true,"url":"https://api.github.com/repos/fredim/go-art","forks_url":"https://api.github.com/repos/fredim/go-art/forks","keys_url":"https://api.github.com/repos/fredim/go-art/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fredim/go-art/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fredim/go-art/teams","hooks_url":"https://api.github.com/repos/fredim/go-art/hooks","issue_events_url":"https://api.github.com/repos/fredim/go-art/issues/events{/number}","events_url":"https://api.github.com/repos/fredim/go-art/events","assignees_url":"https://api.github.com/repos/fredim/go-art/assignees{/user}","branches_url":"https://api.github.com/repos/fredim/go-art/branches{/branch}","tags_url":"https://api.github.com/repos/fredim/go-art/tags","blobs_url":"https://api.github.com/repos/fredim/go-art/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fredim/go-art/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fredim/go-art/git/refs{/sha}","trees_url":"https://api.github.com/repos/fredim/go-art/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fredim/go-art/statuses/{sha}","languages_url":"https://api.github.com/repos/fredim/go-art/languages","stargazers_url":"https://api.github.com/repos/fredim/go-art/stargazers","contributors_url":"https://api.github.com/repos/fredim/go-art/contributors","subscribers_url":"https://api.github.com/repos/fredim/go-art/subscribers","subscription_url":"https://api.github.com/repos/fredim/go-art/subscription","commits_url":"https://api.github.com/repos/fredim/go-art/commits{/sha}","git_commits_url":"https://api.github.com/repos/fredim/go-art/git/commits{/sha}","comments_url":"https://api.github.com/repos/fredim/go-art/comments{/number}","issue_comment_url":"https://api.github.com/repos/fredim/go-art/issues/comments{/number}","contents_url":"https://api.github.com/repos/fredim/go-art/contents/{+path}","compare_url":"https://api.github.com/repos/fredim/go-art/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fredim/go-art/merges","archive_url":"https://api.github.com/repos/fredim/go-art/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fredim/go-art/downloads","issues_url":"https://api.github.com/repos/fredim/go-art/issues{/number}","pulls_url":"https://api.github.com/repos/fredim/go-art/pulls{/number}","milestones_url":"https://api.github.com/repos/fredim/go-art/milestones{/number}","notifications_url":"https://api.github.com/repos/fredim/go-art/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fredim/go-art/labels{/name}","releases_url":"https://api.github.com/repos/fredim/go-art/releases{/id}","deployments_url":"https://api.github.com/repos/fredim/go-art/deployments","created_at":"2016-01-27T07:15:01Z","updated_at":"2016-01-27T07:15:01Z","pushed_at":"2016-02-06T08:51:53Z","git_url":"git://github.com/fredim/go-art.git","ssh_url":"git@github.com:fredim/go-art.git","clone_url":"https://github.com/fredim/go-art.git","svn_url":"https://github.com/fredim/go-art","homepage":null,"size":2836,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kellydunn:master","ref":"master","sha":"d3df51cf8b7e136efc2670f58c97c5feb488d7f5","user":{"login":"kellydunn","id":116621,"avatar_url":"https://avatars.githubusercontent.com/u/116621?v=3","gravatar_id":"","url":"https://api.github.com/users/kellydunn","html_url":"https://github.com/kellydunn","followers_url":"https://api.github.com/users/kellydunn/followers","following_url":"https://api.github.com/users/kellydunn/following{/other_user}","gists_url":"https://api.github.com/users/kellydunn/gists{/gist_id}","starred_url":"https://api.github.com/users/kellydunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kellydunn/subscriptions","organizations_url":"https://api.github.com/users/kellydunn/orgs","repos_url":"https://api.github.com/users/kellydunn/repos","events_url":"https://api.github.com/users/kellydunn/events{/privacy}","received_events_url":"https://api.github.com/users/kellydunn/received_events","type":"User","site_admin":false},"repo":{"id":10982620,"name":"go-art","full_name":"kellydunn/go-art","owner":{"login":"kellydunn","id":116621,"avatar_url":"https://avatars.githubusercontent.com/u/116621?v=3","gravatar_id":"","url":"https://api.github.com/users/kellydunn","html_url":"https://github.com/kellydunn","followers_url":"https://api.github.com/users/kellydunn/followers","following_url":"https://api.github.com/users/kellydunn/following{/other_user}","gists_url":"https://api.github.com/users/kellydunn/gists{/gist_id}","starred_url":"https://api.github.com/users/kellydunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kellydunn/subscriptions","organizations_url":"https://api.github.com/users/kellydunn/orgs","repos_url":"https://api.github.com/users/kellydunn/repos","events_url":"https://api.github.com/users/kellydunn/events{/privacy}","received_events_url":"https://api.github.com/users/kellydunn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kellydunn/go-art","description":"an adaptive radix tree implementation in go","fork":false,"url":"https://api.github.com/repos/kellydunn/go-art","forks_url":"https://api.github.com/repos/kellydunn/go-art/forks","keys_url":"https://api.github.com/repos/kellydunn/go-art/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kellydunn/go-art/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kellydunn/go-art/teams","hooks_url":"https://api.github.com/repos/kellydunn/go-art/hooks","issue_events_url":"https://api.github.com/repos/kellydunn/go-art/issues/events{/number}","events_url":"https://api.github.com/repos/kellydunn/go-art/events","assignees_url":"https://api.github.com/repos/kellydunn/go-art/assignees{/user}","branches_url":"https://api.github.com/repos/kellydunn/go-art/branches{/branch}","tags_url":"https://api.github.com/repos/kellydunn/go-art/tags","blobs_url":"https://api.github.com/repos/kellydunn/go-art/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kellydunn/go-art/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kellydunn/go-art/git/refs{/sha}","trees_url":"https://api.github.com/repos/kellydunn/go-art/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kellydunn/go-art/statuses/{sha}","languages_url":"https://api.github.com/repos/kellydunn/go-art/languages","stargazers_url":"https://api.github.com/repos/kellydunn/go-art/stargazers","contributors_url":"https://api.github.com/repos/kellydunn/go-art/contributors","subscribers_url":"https://api.github.com/repos/kellydunn/go-art/subscribers","subscription_url":"https://api.github.com/repos/kellydunn/go-art/subscription","commits_url":"https://api.github.com/repos/kellydunn/go-art/commits{/sha}","git_commits_url":"https://api.github.com/repos/kellydunn/go-art/git/commits{/sha}","comments_url":"https://api.github.com/repos/kellydunn/go-art/comments{/number}","issue_comment_url":"https://api.github.com/repos/kellydunn/go-art/issues/comments{/number}","contents_url":"https://api.github.com/repos/kellydunn/go-art/contents/{+path}","compare_url":"https://api.github.com/repos/kellydunn/go-art/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kellydunn/go-art/merges","archive_url":"https://api.github.com/repos/kellydunn/go-art/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kellydunn/go-art/downloads","issues_url":"https://api.github.com/repos/kellydunn/go-art/issues{/number}","pulls_url":"https://api.github.com/repos/kellydunn/go-art/pulls{/number}","milestones_url":"https://api.github.com/repos/kellydunn/go-art/milestones{/number}","notifications_url":"https://api.github.com/repos/kellydunn/go-art/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kellydunn/go-art/labels{/name}","releases_url":"https://api.github.com/repos/kellydunn/go-art/releases{/id}","deployments_url":"https://api.github.com/repos/kellydunn/go-art/deployments","created_at":"2013-06-27T00:04:42Z","updated_at":"2016-01-24T11:47:08Z","pushed_at":"2016-02-05T17:16:32Z","git_url":"git://github.com/kellydunn/go-art.git","ssh_url":"git@github.com:kellydunn/go-art.git","clone_url":"https://github.com/kellydunn/go-art.git","svn_url":"https://github.com/kellydunn/go-art","homepage":null,"size":3041,"stargazers_count":28,"watchers_count":28,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":6,"forks":6,"open_issues":6,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kellydunn/go-art/pulls/11"},"html":{"href":"https://github.com/kellydunn/go-art/pull/11"},"issue":{"href":"https://api.github.com/repos/kellydunn/go-art/issues/11"},"comments":{"href":"https://api.github.com/repos/kellydunn/go-art/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/kellydunn/go-art/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/kellydunn/go-art/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kellydunn/go-art/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/kellydunn/go-art/statuses/0459aac5f7531b077c01ff8b1479a94e509b86de"}}}}