{"action":"created","comment":{"url":"https://api.github.com/repos/heltonmarx/goami/pulls/comments/219483903","pull_request_review_id":157672739,"id":219483903,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTQ4MzkwMw==","diff_hunk":"@@ -27,10 +27,18 @@ func DBPut(client Client, actionID, family, key, val string) (Response, error) {\n \n // DBGet gets DB Entry.\n func DBGet(client Client, actionID, family, key string) (Response, error) {\n-\treturn send(client, \"DBGet\", actionID, dbData{\n+\tdata := dbData{\n \t\tFamily: family,\n \t\tKey:    key,\n-\t})\n+\t}\n+\n+\tresponses, err := requestList(client, \"DBGet\", actionID, \"DBGetResponse\", \"DBGetComplete\", data)\n+\n+\tif err != nil {\n+\t\treturn nil, err","path":"ami/db.go","position":14,"original_position":14,"commit_id":"2d5c4aeee70d7baad40aaa8960e27065bc1adc37","original_commit_id":"2d5c4aeee70d7baad40aaa8960e27065bc1adc37","user":{"login":"luiz-simples","id":1550859,"node_id":"MDQ6VXNlcjE1NTA4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1550859?v=4","gravatar_id":"","url":"https://api.github.com/users/luiz-simples","html_url":"https://github.com/luiz-simples","followers_url":"https://api.github.com/users/luiz-simples/followers","following_url":"https://api.github.com/users/luiz-simples/following{/other_user}","gists_url":"https://api.github.com/users/luiz-simples/gists{/gist_id}","starred_url":"https://api.github.com/users/luiz-simples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luiz-simples/subscriptions","organizations_url":"https://api.github.com/users/luiz-simples/orgs","repos_url":"https://api.github.com/users/luiz-simples/repos","events_url":"https://api.github.com/users/luiz-simples/events{/privacy}","received_events_url":"https://api.github.com/users/luiz-simples/received_events","type":"User","site_admin":false},"body":"tks","created_at":"2018-09-21T12:44:48Z","updated_at":"2018-09-21T12:44:48Z","html_url":"https://github.com/heltonmarx/goami/pull/13#discussion_r219483903","pull_request_url":"https://api.github.com/repos/heltonmarx/goami/pulls/13","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/heltonmarx/goami/pulls/comments/219483903"},"html":{"href":"https://github.com/heltonmarx/goami/pull/13#discussion_r219483903"},"pull_request":{"href":"https://api.github.com/repos/heltonmarx/goami/pulls/13"}},"in_reply_to_id":219471298},"pull_request":{"url":"https://api.github.com/repos/heltonmarx/goami/pulls/13","id":211473524,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExNDczNTI0","html_url":"https://github.com/heltonmarx/goami/pull/13","diff_url":"https://github.com/heltonmarx/goami/pull/13.diff","patch_url":"https://github.com/heltonmarx/goami/pull/13.patch","issue_url":"https://api.github.com/repos/heltonmarx/goami/issues/13","number":13,"state":"open","locked":false,"title":"The DBGet method is asynchronous","user":{"login":"luiz-simples","id":1550859,"node_id":"MDQ6VXNlcjE1NTA4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1550859?v=4","gravatar_id":"","url":"https://api.github.com/users/luiz-simples","html_url":"https://github.com/luiz-simples","followers_url":"https://api.github.com/users/luiz-simples/followers","following_url":"https://api.github.com/users/luiz-simples/following{/other_user}","gists_url":"https://api.github.com/users/luiz-simples/gists{/gist_id}","starred_url":"https://api.github.com/users/luiz-simples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luiz-simples/subscriptions","organizations_url":"https://api.github.com/users/luiz-simples/orgs","repos_url":"https://api.github.com/users/luiz-simples/repos","events_url":"https://api.github.com/users/luiz-simples/events{/privacy}","received_events_url":"https://api.github.com/users/luiz-simples/received_events","type":"User","site_admin":false},"body":"was used requestList in DBGet returning first element","created_at":"2018-08-28T15:55:45Z","updated_at":"2018-09-21T12:44:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f8a6fbf8640d7d45a94297e2da9d7af8e75119d4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/heltonmarx/goami/pulls/13/commits","review_comments_url":"https://api.github.com/repos/heltonmarx/goami/pulls/13/comments","review_comment_url":"https://api.github.com/repos/heltonmarx/goami/pulls/comments{/number}","comments_url":"https://api.github.com/repos/heltonmarx/goami/issues/13/comments","statuses_url":"https://api.github.com/repos/heltonmarx/goami/statuses/2d5c4aeee70d7baad40aaa8960e27065bc1adc37","head":{"label":"luiz-simples:db-get-async","ref":"db-get-async","sha":"2d5c4aeee70d7baad40aaa8960e27065bc1adc37","user":{"login":"luiz-simples","id":1550859,"node_id":"MDQ6VXNlcjE1NTA4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1550859?v=4","gravatar_id":"","url":"https://api.github.com/users/luiz-simples","html_url":"https://github.com/luiz-simples","followers_url":"https://api.github.com/users/luiz-simples/followers","following_url":"https://api.github.com/users/luiz-simples/following{/other_user}","gists_url":"https://api.github.com/users/luiz-simples/gists{/gist_id}","starred_url":"https://api.github.com/users/luiz-simples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luiz-simples/subscriptions","organizations_url":"https://api.github.com/users/luiz-simples/orgs","repos_url":"https://api.github.com/users/luiz-simples/repos","events_url":"https://api.github.com/users/luiz-simples/events{/privacy}","received_events_url":"https://api.github.com/users/luiz-simples/received_events","type":"User","site_admin":false},"repo":{"id":146469759,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY0Njk3NTk=","name":"goami","full_name":"luiz-simples/goami","private":false,"owner":{"login":"luiz-simples","id":1550859,"node_id":"MDQ6VXNlcjE1NTA4NTk=","avatar_url":"https://avatars1.githubusercontent.com/u/1550859?v=4","gravatar_id":"","url":"https://api.github.com/users/luiz-simples","html_url":"https://github.com/luiz-simples","followers_url":"https://api.github.com/users/luiz-simples/followers","following_url":"https://api.github.com/users/luiz-simples/following{/other_user}","gists_url":"https://api.github.com/users/luiz-simples/gists{/gist_id}","starred_url":"https://api.github.com/users/luiz-simples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luiz-simples/subscriptions","organizations_url":"https://api.github.com/users/luiz-simples/orgs","repos_url":"https://api.github.com/users/luiz-simples/repos","events_url":"https://api.github.com/users/luiz-simples/events{/privacy}","received_events_url":"https://api.github.com/users/luiz-simples/received_events","type":"User","site_admin":false},"html_url":"https://github.com/luiz-simples/goami","description":"Asterisk Manager Interface (AMI) client in Go","fork":true,"url":"https://api.github.com/repos/luiz-simples/goami","forks_url":"https://api.github.com/repos/luiz-simples/goami/forks","keys_url":"https://api.github.com/repos/luiz-simples/goami/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luiz-simples/goami/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luiz-simples/goami/teams","hooks_url":"https://api.github.com/repos/luiz-simples/goami/hooks","issue_events_url":"https://api.github.com/repos/luiz-simples/goami/issues/events{/number}","events_url":"https://api.github.com/repos/luiz-simples/goami/events","assignees_url":"https://api.github.com/repos/luiz-simples/goami/assignees{/user}","branches_url":"https://api.github.com/repos/luiz-simples/goami/branches{/branch}","tags_url":"https://api.github.com/repos/luiz-simples/goami/tags","blobs_url":"https://api.github.com/repos/luiz-simples/goami/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luiz-simples/goami/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luiz-simples/goami/git/refs{/sha}","trees_url":"https://api.github.com/repos/luiz-simples/goami/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luiz-simples/goami/statuses/{sha}","languages_url":"https://api.github.com/repos/luiz-simples/goami/languages","stargazers_url":"https://api.github.com/repos/luiz-simples/goami/stargazers","contributors_url":"https://api.github.com/repos/luiz-simples/goami/contributors","subscribers_url":"https://api.github.com/repos/luiz-simples/goami/subscribers","subscription_url":"https://api.github.com/repos/luiz-simples/goami/subscription","commits_url":"https://api.github.com/repos/luiz-simples/goami/commits{/sha}","git_commits_url":"https://api.github.com/repos/luiz-simples/goami/git/commits{/sha}","comments_url":"https://api.github.com/repos/luiz-simples/goami/comments{/number}","issue_comment_url":"https://api.github.com/repos/luiz-simples/goami/issues/comments{/number}","contents_url":"https://api.github.com/repos/luiz-simples/goami/contents/{+path}","compare_url":"https://api.github.com/repos/luiz-simples/goami/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luiz-simples/goami/merges","archive_url":"https://api.github.com/repos/luiz-simples/goami/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luiz-simples/goami/downloads","issues_url":"https://api.github.com/repos/luiz-simples/goami/issues{/number}","pulls_url":"https://api.github.com/repos/luiz-simples/goami/pulls{/number}","milestones_url":"https://api.github.com/repos/luiz-simples/goami/milestones{/number}","notifications_url":"https://api.github.com/repos/luiz-simples/goami/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luiz-simples/goami/labels{/name}","releases_url":"https://api.github.com/repos/luiz-simples/goami/releases{/id}","deployments_url":"https://api.github.com/repos/luiz-simples/goami/deployments","created_at":"2018-08-28T15:39:15Z","updated_at":"2018-09-05T21:50:33Z","pushed_at":"2018-09-05T21:50:32Z","git_url":"git://github.com/luiz-simples/goami.git","ssh_url":"git@github.com:luiz-simples/goami.git","clone_url":"https://github.com/luiz-simples/goami.git","svn_url":"https://github.com/luiz-simples/goami","homepage":"","size":2344,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"heltonmarx:master","ref":"master","sha":"af28a81bbe4c27eebf6554d08370899dae31d2e2","user":{"login":"heltonmarx","id":1408246,"node_id":"MDQ6VXNlcjE0MDgyNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1408246?v=4","gravatar_id":"","url":"https://api.github.com/users/heltonmarx","html_url":"https://github.com/heltonmarx","followers_url":"https://api.github.com/users/heltonmarx/followers","following_url":"https://api.github.com/users/heltonmarx/following{/other_user}","gists_url":"https://api.github.com/users/heltonmarx/gists{/gist_id}","starred_url":"https://api.github.com/users/heltonmarx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heltonmarx/subscriptions","organizations_url":"https://api.github.com/users/heltonmarx/orgs","repos_url":"https://api.github.com/users/heltonmarx/repos","events_url":"https://api.github.com/users/heltonmarx/events{/privacy}","received_events_url":"https://api.github.com/users/heltonmarx/received_events","type":"User","site_admin":false},"repo":{"id":12423084,"node_id":"MDEwOlJlcG9zaXRvcnkxMjQyMzA4NA==","name":"goami","full_name":"heltonmarx/goami","private":false,"owner":{"login":"heltonmarx","id":1408246,"node_id":"MDQ6VXNlcjE0MDgyNDY=","avatar_url":"https://avatars3.githubusercontent.com/u/1408246?v=4","gravatar_id":"","url":"https://api.github.com/users/heltonmarx","html_url":"https://github.com/heltonmarx","followers_url":"https://api.github.com/users/heltonmarx/followers","following_url":"https://api.github.com/users/heltonmarx/following{/other_user}","gists_url":"https://api.github.com/users/heltonmarx/gists{/gist_id}","starred_url":"https://api.github.com/users/heltonmarx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heltonmarx/subscriptions","organizations_url":"https://api.github.com/users/heltonmarx/orgs","repos_url":"https://api.github.com/users/heltonmarx/repos","events_url":"https://api.github.com/users/heltonmarx/events{/privacy}","received_events_url":"https://api.github.com/users/heltonmarx/received_events","type":"User","site_admin":false},"html_url":"https://github.com/heltonmarx/goami","description":"Asterisk Manager Interface (AMI) client in Go","fork":false,"url":"https://api.github.com/repos/heltonmarx/goami","forks_url":"https://api.github.com/repos/heltonmarx/goami/forks","keys_url":"https://api.github.com/repos/heltonmarx/goami/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heltonmarx/goami/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heltonmarx/goami/teams","hooks_url":"https://api.github.com/repos/heltonmarx/goami/hooks","issue_events_url":"https://api.github.com/repos/heltonmarx/goami/issues/events{/number}","events_url":"https://api.github.com/repos/heltonmarx/goami/events","assignees_url":"https://api.github.com/repos/heltonmarx/goami/assignees{/user}","branches_url":"https://api.github.com/repos/heltonmarx/goami/branches{/branch}","tags_url":"https://api.github.com/repos/heltonmarx/goami/tags","blobs_url":"https://api.github.com/repos/heltonmarx/goami/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heltonmarx/goami/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heltonmarx/goami/git/refs{/sha}","trees_url":"https://api.github.com/repos/heltonmarx/goami/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heltonmarx/goami/statuses/{sha}","languages_url":"https://api.github.com/repos/heltonmarx/goami/languages","stargazers_url":"https://api.github.com/repos/heltonmarx/goami/stargazers","contributors_url":"https://api.github.com/repos/heltonmarx/goami/contributors","subscribers_url":"https://api.github.com/repos/heltonmarx/goami/subscribers","subscription_url":"https://api.github.com/repos/heltonmarx/goami/subscription","commits_url":"https://api.github.com/repos/heltonmarx/goami/commits{/sha}","git_commits_url":"https://api.github.com/repos/heltonmarx/goami/git/commits{/sha}","comments_url":"https://api.github.com/repos/heltonmarx/goami/comments{/number}","issue_comment_url":"https://api.github.com/repos/heltonmarx/goami/issues/comments{/number}","contents_url":"https://api.github.com/repos/heltonmarx/goami/contents/{+path}","compare_url":"https://api.github.com/repos/heltonmarx/goami/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heltonmarx/goami/merges","archive_url":"https://api.github.com/repos/heltonmarx/goami/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heltonmarx/goami/downloads","issues_url":"https://api.github.com/repos/heltonmarx/goami/issues{/number}","pulls_url":"https://api.github.com/repos/heltonmarx/goami/pulls{/number}","milestones_url":"https://api.github.com/repos/heltonmarx/goami/milestones{/number}","notifications_url":"https://api.github.com/repos/heltonmarx/goami/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heltonmarx/goami/labels{/name}","releases_url":"https://api.github.com/repos/heltonmarx/goami/releases{/id}","deployments_url":"https://api.github.com/repos/heltonmarx/goami/deployments","created_at":"2013-08-28T02:51:09Z","updated_at":"2018-08-10T08:11:48Z","pushed_at":"2018-08-28T15:55:46Z","git_url":"git://github.com/heltonmarx/goami.git","ssh_url":"git@github.com:heltonmarx/goami.git","clone_url":"https://github.com/heltonmarx/goami.git","svn_url":"https://github.com/heltonmarx/goami","homepage":"","size":2343,"stargazers_count":15,"watchers_count":15,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":9,"open_issues":2,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/heltonmarx/goami/pulls/13"},"html":{"href":"https://github.com/heltonmarx/goami/pull/13"},"issue":{"href":"https://api.github.com/repos/heltonmarx/goami/issues/13"},"comments":{"href":"https://api.github.com/repos/heltonmarx/goami/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/heltonmarx/goami/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/heltonmarx/goami/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/heltonmarx/goami/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/heltonmarx/goami/statuses/2d5c4aeee70d7baad40aaa8960e27065bc1adc37"}},"author_association":"NONE"}}
{"actor":{"display_login":"luiz-simples"}}