{"action":"created","comment":{"url":"https://api.github.com/repos/xh3b4sd/anna/pulls/comments/86674608","pull_request_review_id":7322871,"id":86674608,"diff_hunk":"@@ -43,25 +44,25 @@ func (a *annactl) ExecAnnactlInterfaceTextReadFileCmd(cmd *cobra.Command, args [\n \n \tb, err := a.Service().FS().ReadFile(args[0])\n \tif err != nil {\n-\t\ta.Log.WithTags(spec.Tags{C: nil, L: \"F\", O: a, V: 1}, \"%#v\", maskAny(err))\n+\t\ta.Log.WithTags(systemspec.Tags{C: nil, L: \"F\", O: a, V: 1}, \"%#v\", maskAny(err))\n \t}\n \n \ttextRequest := api.MustNewTextRequest()\n \terr = json.Unmarshal(b, &textRequest)\n \tif err != nil {\n-\t\ta.Log.WithTags(spec.Tags{C: nil, L: \"F\", O: a, V: 1}, \"%#v\", maskAny(err))\n+\t\ta.Log.WithTags(systemspec.Tags{C: nil, L: \"F\", O: a, V: 1}, \"%#v\", maskAny(err))\n \t}\n \n-\tin := make(chan spec.TextRequest, 1)\n-\tout := make(chan spec.TextResponse, 1000)\n+\tin := make(chan servicespec.TextRequest, 1)\n+\tout := make(chan servicespec.TextResponse, 1000)\n \n \tgo func() {\n \t\t// TODO stream continuously\n \t\tin <- textRequest\n \t}()\n-\terr = a.TextInterface.StreamText(ctx, in, out)\n+\terr = a.TextInterface.StreamText(ctx, in, out) // TODO this should operate e.g. on the TextOutput service","path":"annactl/annactl_interface_text_read_file.go","position":49,"original_position":49,"commit_id":"2647037dfbca561960370b5aff7e87f430b96b6b","original_commit_id":"2647037dfbca561960370b5aff7e87f430b96b6b","user":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars.githubusercontent.com/u/552769?v=3","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"body":"We should use the service interface instead of manually hustling with channels.","created_at":"2016-11-05T22:32:44Z","updated_at":"2016-11-05T22:32:44Z","html_url":"https://github.com/xh3b4sd/anna/pull/254#discussion_r86674608","pull_request_url":"https://api.github.com/repos/xh3b4sd/anna/pulls/254","_links":{"self":{"href":"https://api.github.com/repos/xh3b4sd/anna/pulls/comments/86674608"},"html":{"href":"https://github.com/xh3b4sd/anna/pull/254#discussion_r86674608"},"pull_request":{"href":"https://api.github.com/repos/xh3b4sd/anna/pulls/254"}}},"pull_request":{"url":"https://api.github.com/repos/xh3b4sd/anna/pulls/254","id":92468353,"html_url":"https://github.com/xh3b4sd/anna/pull/254","diff_url":"https://github.com/xh3b4sd/anna/pull/254.diff","patch_url":"https://github.com/xh3b4sd/anna/pull/254.patch","issue_url":"https://api.github.com/repos/xh3b4sd/anna/issues/254","number":254,"state":"open","locked":false,"title":"moved gateway to service collection","user":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars.githubusercontent.com/u/552769?v=3","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"body":"### fixes\r\nThis PR fixes #236.\r\n\r\n### checklist\r\n- [ ] Make sure you read and understood the [CONTRIBUTING.md](https://github.com/xh3b4sd/anna/blob/master/.github/CONTRIBUTING.md).\r\n- [ ] Make sure you applied sufficient labels, milestone and assignee.\r\n- [ ] Make sure all TODOs are addressed.\r\n- [ ] Make sure there is sufficient documentation.\r\n- [ ] Make sure there are sufficient tests.\r\n- [ ] Make sure all commits are squashed before merging.\r\n- [ ] Make sure to delete the feature branch after merging.\r\n\r\n","created_at":"2016-11-05T21:43:41Z","updated_at":"2016-11-05T22:34:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bc7de495a9deb9b8f74ddf3713317eed83ab1bdc","assignee":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars.githubusercontent.com/u/552769?v=3","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"assignees":[{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars.githubusercontent.com/u/552769?v=3","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/xh3b4sd/anna/pulls/254/commits","review_comments_url":"https://api.github.com/repos/xh3b4sd/anna/pulls/254/comments","review_comment_url":"https://api.github.com/repos/xh3b4sd/anna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xh3b4sd/anna/issues/254/comments","statuses_url":"https://api.github.com/repos/xh3b4sd/anna/statuses/2647037dfbca561960370b5aff7e87f430b96b6b","head":{"label":"xh3b4sd:gateway","ref":"gateway","sha":"2647037dfbca561960370b5aff7e87f430b96b6b","user":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars.githubusercontent.com/u/552769?v=3","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"repo":{"id":49432401,"name":"anna","full_name":"xh3b4sd/anna","owner":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars.githubusercontent.com/u/552769?v=3","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xh3b4sd/anna","description":"Anna, Artificial Neural Network Aspiration, aims to be self-learning and self-improving software. ","fork":false,"url":"https://api.github.com/repos/xh3b4sd/anna","forks_url":"https://api.github.com/repos/xh3b4sd/anna/forks","keys_url":"https://api.github.com/repos/xh3b4sd/anna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xh3b4sd/anna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xh3b4sd/anna/teams","hooks_url":"https://api.github.com/repos/xh3b4sd/anna/hooks","issue_events_url":"https://api.github.com/repos/xh3b4sd/anna/issues/events{/number}","events_url":"https://api.github.com/repos/xh3b4sd/anna/events","assignees_url":"https://api.github.com/repos/xh3b4sd/anna/assignees{/user}","branches_url":"https://api.github.com/repos/xh3b4sd/anna/branches{/branch}","tags_url":"https://api.github.com/repos/xh3b4sd/anna/tags","blobs_url":"https://api.github.com/repos/xh3b4sd/anna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xh3b4sd/anna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xh3b4sd/anna/git/refs{/sha}","trees_url":"https://api.github.com/repos/xh3b4sd/anna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xh3b4sd/anna/statuses/{sha}","languages_url":"https://api.github.com/repos/xh3b4sd/anna/languages","stargazers_url":"https://api.github.com/repos/xh3b4sd/anna/stargazers","contributors_url":"https://api.github.com/repos/xh3b4sd/anna/contributors","subscribers_url":"https://api.github.com/repos/xh3b4sd/anna/subscribers","subscription_url":"https://api.github.com/repos/xh3b4sd/anna/subscription","commits_url":"https://api.github.com/repos/xh3b4sd/anna/commits{/sha}","git_commits_url":"https://api.github.com/repos/xh3b4sd/anna/git/commits{/sha}","comments_url":"https://api.github.com/repos/xh3b4sd/anna/comments{/number}","issue_comment_url":"https://api.github.com/repos/xh3b4sd/anna/issues/comments{/number}","contents_url":"https://api.github.com/repos/xh3b4sd/anna/contents/{+path}","compare_url":"https://api.github.com/repos/xh3b4sd/anna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xh3b4sd/anna/merges","archive_url":"https://api.github.com/repos/xh3b4sd/anna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xh3b4sd/anna/downloads","issues_url":"https://api.github.com/repos/xh3b4sd/anna/issues{/number}","pulls_url":"https://api.github.com/repos/xh3b4sd/anna/pulls{/number}","milestones_url":"https://api.github.com/repos/xh3b4sd/anna/milestones{/number}","notifications_url":"https://api.github.com/repos/xh3b4sd/anna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xh3b4sd/anna/labels{/name}","releases_url":"https://api.github.com/repos/xh3b4sd/anna/releases{/id}","deployments_url":"https://api.github.com/repos/xh3b4sd/anna/deployments","created_at":"2016-01-11T14:42:58Z","updated_at":"2016-11-04T23:19:48Z","pushed_at":"2016-11-05T22:30:56Z","git_url":"git://github.com/xh3b4sd/anna.git","ssh_url":"git@github.com:xh3b4sd/anna.git","clone_url":"https://github.com/xh3b4sd/anna.git","svn_url":"https://github.com/xh3b4sd/anna","homepage":"https://anna.earth","size":8147,"stargazers_count":34,"watchers_count":34,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":40,"forks":4,"open_issues":40,"watchers":34,"default_branch":"master"}},"base":{"label":"xh3b4sd:master","ref":"master","sha":"7178cc8df6b57d1a935cf613ddb7d89a5f61ba37","user":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars.githubusercontent.com/u/552769?v=3","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"repo":{"id":49432401,"name":"anna","full_name":"xh3b4sd/anna","owner":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars.githubusercontent.com/u/552769?v=3","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xh3b4sd/anna","description":"Anna, Artificial Neural Network Aspiration, aims to be self-learning and self-improving software. ","fork":false,"url":"https://api.github.com/repos/xh3b4sd/anna","forks_url":"https://api.github.com/repos/xh3b4sd/anna/forks","keys_url":"https://api.github.com/repos/xh3b4sd/anna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xh3b4sd/anna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xh3b4sd/anna/teams","hooks_url":"https://api.github.com/repos/xh3b4sd/anna/hooks","issue_events_url":"https://api.github.com/repos/xh3b4sd/anna/issues/events{/number}","events_url":"https://api.github.com/repos/xh3b4sd/anna/events","assignees_url":"https://api.github.com/repos/xh3b4sd/anna/assignees{/user}","branches_url":"https://api.github.com/repos/xh3b4sd/anna/branches{/branch}","tags_url":"https://api.github.com/repos/xh3b4sd/anna/tags","blobs_url":"https://api.github.com/repos/xh3b4sd/anna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xh3b4sd/anna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xh3b4sd/anna/git/refs{/sha}","trees_url":"https://api.github.com/repos/xh3b4sd/anna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xh3b4sd/anna/statuses/{sha}","languages_url":"https://api.github.com/repos/xh3b4sd/anna/languages","stargazers_url":"https://api.github.com/repos/xh3b4sd/anna/stargazers","contributors_url":"https://api.github.com/repos/xh3b4sd/anna/contributors","subscribers_url":"https://api.github.com/repos/xh3b4sd/anna/subscribers","subscription_url":"https://api.github.com/repos/xh3b4sd/anna/subscription","commits_url":"https://api.github.com/repos/xh3b4sd/anna/commits{/sha}","git_commits_url":"https://api.github.com/repos/xh3b4sd/anna/git/commits{/sha}","comments_url":"https://api.github.com/repos/xh3b4sd/anna/comments{/number}","issue_comment_url":"https://api.github.com/repos/xh3b4sd/anna/issues/comments{/number}","contents_url":"https://api.github.com/repos/xh3b4sd/anna/contents/{+path}","compare_url":"https://api.github.com/repos/xh3b4sd/anna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xh3b4sd/anna/merges","archive_url":"https://api.github.com/repos/xh3b4sd/anna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xh3b4sd/anna/downloads","issues_url":"https://api.github.com/repos/xh3b4sd/anna/issues{/number}","pulls_url":"https://api.github.com/repos/xh3b4sd/anna/pulls{/number}","milestones_url":"https://api.github.com/repos/xh3b4sd/anna/milestones{/number}","notifications_url":"https://api.github.com/repos/xh3b4sd/anna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xh3b4sd/anna/labels{/name}","releases_url":"https://api.github.com/repos/xh3b4sd/anna/releases{/id}","deployments_url":"https://api.github.com/repos/xh3b4sd/anna/deployments","created_at":"2016-01-11T14:42:58Z","updated_at":"2016-11-04T23:19:48Z","pushed_at":"2016-11-05T22:30:56Z","git_url":"git://github.com/xh3b4sd/anna.git","ssh_url":"git@github.com:xh3b4sd/anna.git","clone_url":"https://github.com/xh3b4sd/anna.git","svn_url":"https://github.com/xh3b4sd/anna","homepage":"https://anna.earth","size":8147,"stargazers_count":34,"watchers_count":34,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":40,"forks":4,"open_issues":40,"watchers":34,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xh3b4sd/anna/pulls/254"},"html":{"href":"https://github.com/xh3b4sd/anna/pull/254"},"issue":{"href":"https://api.github.com/repos/xh3b4sd/anna/issues/254"},"comments":{"href":"https://api.github.com/repos/xh3b4sd/anna/issues/254/comments"},"review_comments":{"href":"https://api.github.com/repos/xh3b4sd/anna/pulls/254/comments"},"review_comment":{"href":"https://api.github.com/repos/xh3b4sd/anna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xh3b4sd/anna/pulls/254/commits"},"statuses":{"href":"https://api.github.com/repos/xh3b4sd/anna/statuses/2647037dfbca561960370b5aff7e87f430b96b6b"}}}}
{"actor":{"display_login":"xh3b4sd"}}