{"action":"closed","number":314,"pull_request":{"url":"https://api.github.com/repos/go-kivik/kivik/pulls/314","id":189072539,"html_url":"https://github.com/go-kivik/kivik/pull/314","diff_url":"https://github.com/go-kivik/kivik/pull/314.diff","patch_url":"https://github.com/go-kivik/kivik/pull/314.patch","issue_url":"https://api.github.com/repos/go-kivik/kivik/issues/314","number":314,"state":"closed","locked":false,"title":"Rows interface","user":{"login":"thebho","id":12362348,"avatar_url":"https://avatars0.githubusercontent.com/u/12362348?v=4","gravatar_id":"","url":"https://api.github.com/users/thebho","html_url":"https://github.com/thebho","followers_url":"https://api.github.com/users/thebho/followers","following_url":"https://api.github.com/users/thebho/following{/other_user}","gists_url":"https://api.github.com/users/thebho/gists{/gist_id}","starred_url":"https://api.github.com/users/thebho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebho/subscriptions","organizations_url":"https://api.github.com/users/thebho/orgs","repos_url":"https://api.github.com/users/thebho/repos","events_url":"https://api.github.com/users/thebho/events{/privacy}","received_events_url":"https://api.github.com/users/thebho/received_events","type":"User","site_admin":false},"body":"I needed a way mock the responses for the `AllDocs` and `Query` functions. This interface did the trick. \r\n\r\nThis works when I use glide to switch out my branch for the `go-kivik` imports in my project, but I haven't been able to get your tests to run locally because of the import paths.\r\n\r\nI can update the `RowsWrapper` name if you have a better idea.","created_at":"2018-05-18T16:13:59Z","updated_at":"2018-05-18T16:17:38Z","closed_at":"2018-05-18T16:17:38Z","merged_at":null,"merge_commit_sha":"3ab4af9a72b76fd2a51d1f2b9abb06f73666b284","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/go-kivik/kivik/pulls/314/commits","review_comments_url":"https://api.github.com/repos/go-kivik/kivik/pulls/314/comments","review_comment_url":"https://api.github.com/repos/go-kivik/kivik/pulls/comments{/number}","comments_url":"https://api.github.com/repos/go-kivik/kivik/issues/314/comments","statuses_url":"https://api.github.com/repos/go-kivik/kivik/statuses/fe4846e3dcfaaee9e1f98e6e2f031eab2d9fe353","head":{"label":"thebho:rowsInterface","ref":"rowsInterface","sha":"fe4846e3dcfaaee9e1f98e6e2f031eab2d9fe353","user":{"login":"thebho","id":12362348,"avatar_url":"https://avatars0.githubusercontent.com/u/12362348?v=4","gravatar_id":"","url":"https://api.github.com/users/thebho","html_url":"https://github.com/thebho","followers_url":"https://api.github.com/users/thebho/followers","following_url":"https://api.github.com/users/thebho/following{/other_user}","gists_url":"https://api.github.com/users/thebho/gists{/gist_id}","starred_url":"https://api.github.com/users/thebho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebho/subscriptions","organizations_url":"https://api.github.com/users/thebho/orgs","repos_url":"https://api.github.com/users/thebho/repos","events_url":"https://api.github.com/users/thebho/events{/privacy}","received_events_url":"https://api.github.com/users/thebho/received_events","type":"User","site_admin":false},"repo":{"id":133823355,"name":"kivik","full_name":"thebho/kivik","owner":{"login":"thebho","id":12362348,"avatar_url":"https://avatars0.githubusercontent.com/u/12362348?v=4","gravatar_id":"","url":"https://api.github.com/users/thebho","html_url":"https://github.com/thebho","followers_url":"https://api.github.com/users/thebho/followers","following_url":"https://api.github.com/users/thebho/following{/other_user}","gists_url":"https://api.github.com/users/thebho/gists{/gist_id}","starred_url":"https://api.github.com/users/thebho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebho/subscriptions","organizations_url":"https://api.github.com/users/thebho/orgs","repos_url":"https://api.github.com/users/thebho/repos","events_url":"https://api.github.com/users/thebho/events{/privacy}","received_events_url":"https://api.github.com/users/thebho/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thebho/kivik","description":"Kivik provides a common interface to CouchDB or CouchDB-like databases for Go and GopherJS.","fork":true,"url":"https://api.github.com/repos/thebho/kivik","forks_url":"https://api.github.com/repos/thebho/kivik/forks","keys_url":"https://api.github.com/repos/thebho/kivik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thebho/kivik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thebho/kivik/teams","hooks_url":"https://api.github.com/repos/thebho/kivik/hooks","issue_events_url":"https://api.github.com/repos/thebho/kivik/issues/events{/number}","events_url":"https://api.github.com/repos/thebho/kivik/events","assignees_url":"https://api.github.com/repos/thebho/kivik/assignees{/user}","branches_url":"https://api.github.com/repos/thebho/kivik/branches{/branch}","tags_url":"https://api.github.com/repos/thebho/kivik/tags","blobs_url":"https://api.github.com/repos/thebho/kivik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thebho/kivik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thebho/kivik/git/refs{/sha}","trees_url":"https://api.github.com/repos/thebho/kivik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thebho/kivik/statuses/{sha}","languages_url":"https://api.github.com/repos/thebho/kivik/languages","stargazers_url":"https://api.github.com/repos/thebho/kivik/stargazers","contributors_url":"https://api.github.com/repos/thebho/kivik/contributors","subscribers_url":"https://api.github.com/repos/thebho/kivik/subscribers","subscription_url":"https://api.github.com/repos/thebho/kivik/subscription","commits_url":"https://api.github.com/repos/thebho/kivik/commits{/sha}","git_commits_url":"https://api.github.com/repos/thebho/kivik/git/commits{/sha}","comments_url":"https://api.github.com/repos/thebho/kivik/comments{/number}","issue_comment_url":"https://api.github.com/repos/thebho/kivik/issues/comments{/number}","contents_url":"https://api.github.com/repos/thebho/kivik/contents/{+path}","compare_url":"https://api.github.com/repos/thebho/kivik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thebho/kivik/merges","archive_url":"https://api.github.com/repos/thebho/kivik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thebho/kivik/downloads","issues_url":"https://api.github.com/repos/thebho/kivik/issues{/number}","pulls_url":"https://api.github.com/repos/thebho/kivik/pulls{/number}","milestones_url":"https://api.github.com/repos/thebho/kivik/milestones{/number}","notifications_url":"https://api.github.com/repos/thebho/kivik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thebho/kivik/labels{/name}","releases_url":"https://api.github.com/repos/thebho/kivik/releases{/id}","deployments_url":"https://api.github.com/repos/thebho/kivik/deployments","created_at":"2018-05-17T14:13:29Z","updated_at":"2018-05-17T14:13:30Z","pushed_at":"2018-05-17T15:48:03Z","git_url":"git://github.com/thebho/kivik.git","ssh_url":"git@github.com:thebho/kivik.git","clone_url":"https://github.com/thebho/kivik.git","svn_url":"https://github.com/thebho/kivik","homepage":"","size":1194,"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":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"go-kivik:master","ref":"master","sha":"d2ef974d3ca9b4f647224a5ab74146965e1b0dec","user":{"login":"go-kivik","id":30026745,"avatar_url":"https://avatars1.githubusercontent.com/u/30026745?v=4","gravatar_id":"","url":"https://api.github.com/users/go-kivik","html_url":"https://github.com/go-kivik","followers_url":"https://api.github.com/users/go-kivik/followers","following_url":"https://api.github.com/users/go-kivik/following{/other_user}","gists_url":"https://api.github.com/users/go-kivik/gists{/gist_id}","starred_url":"https://api.github.com/users/go-kivik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-kivik/subscriptions","organizations_url":"https://api.github.com/users/go-kivik/orgs","repos_url":"https://api.github.com/users/go-kivik/repos","events_url":"https://api.github.com/users/go-kivik/events{/privacy}","received_events_url":"https://api.github.com/users/go-kivik/received_events","type":"Organization","site_admin":false},"repo":{"id":81457136,"name":"kivik","full_name":"go-kivik/kivik","owner":{"login":"go-kivik","id":30026745,"avatar_url":"https://avatars1.githubusercontent.com/u/30026745?v=4","gravatar_id":"","url":"https://api.github.com/users/go-kivik","html_url":"https://github.com/go-kivik","followers_url":"https://api.github.com/users/go-kivik/followers","following_url":"https://api.github.com/users/go-kivik/following{/other_user}","gists_url":"https://api.github.com/users/go-kivik/gists{/gist_id}","starred_url":"https://api.github.com/users/go-kivik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/go-kivik/subscriptions","organizations_url":"https://api.github.com/users/go-kivik/orgs","repos_url":"https://api.github.com/users/go-kivik/repos","events_url":"https://api.github.com/users/go-kivik/events{/privacy}","received_events_url":"https://api.github.com/users/go-kivik/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/go-kivik/kivik","description":"Kivik provides a common interface to CouchDB or CouchDB-like databases for Go and GopherJS.","fork":false,"url":"https://api.github.com/repos/go-kivik/kivik","forks_url":"https://api.github.com/repos/go-kivik/kivik/forks","keys_url":"https://api.github.com/repos/go-kivik/kivik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/go-kivik/kivik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/go-kivik/kivik/teams","hooks_url":"https://api.github.com/repos/go-kivik/kivik/hooks","issue_events_url":"https://api.github.com/repos/go-kivik/kivik/issues/events{/number}","events_url":"https://api.github.com/repos/go-kivik/kivik/events","assignees_url":"https://api.github.com/repos/go-kivik/kivik/assignees{/user}","branches_url":"https://api.github.com/repos/go-kivik/kivik/branches{/branch}","tags_url":"https://api.github.com/repos/go-kivik/kivik/tags","blobs_url":"https://api.github.com/repos/go-kivik/kivik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/go-kivik/kivik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/go-kivik/kivik/git/refs{/sha}","trees_url":"https://api.github.com/repos/go-kivik/kivik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/go-kivik/kivik/statuses/{sha}","languages_url":"https://api.github.com/repos/go-kivik/kivik/languages","stargazers_url":"https://api.github.com/repos/go-kivik/kivik/stargazers","contributors_url":"https://api.github.com/repos/go-kivik/kivik/contributors","subscribers_url":"https://api.github.com/repos/go-kivik/kivik/subscribers","subscription_url":"https://api.github.com/repos/go-kivik/kivik/subscription","commits_url":"https://api.github.com/repos/go-kivik/kivik/commits{/sha}","git_commits_url":"https://api.github.com/repos/go-kivik/kivik/git/commits{/sha}","comments_url":"https://api.github.com/repos/go-kivik/kivik/comments{/number}","issue_comment_url":"https://api.github.com/repos/go-kivik/kivik/issues/comments{/number}","contents_url":"https://api.github.com/repos/go-kivik/kivik/contents/{+path}","compare_url":"https://api.github.com/repos/go-kivik/kivik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/go-kivik/kivik/merges","archive_url":"https://api.github.com/repos/go-kivik/kivik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/go-kivik/kivik/downloads","issues_url":"https://api.github.com/repos/go-kivik/kivik/issues{/number}","pulls_url":"https://api.github.com/repos/go-kivik/kivik/pulls{/number}","milestones_url":"https://api.github.com/repos/go-kivik/kivik/milestones{/number}","notifications_url":"https://api.github.com/repos/go-kivik/kivik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/go-kivik/kivik/labels{/name}","releases_url":"https://api.github.com/repos/go-kivik/kivik/releases{/id}","deployments_url":"https://api.github.com/repos/go-kivik/kivik/deployments","created_at":"2017-02-09T14:14:54Z","updated_at":"2018-05-10T14:34:34Z","pushed_at":"2018-05-18T16:14:00Z","git_url":"git://github.com/go-kivik/kivik.git","ssh_url":"git@github.com:go-kivik/kivik.git","clone_url":"https://github.com/go-kivik/kivik.git","svn_url":"https://github.com/go-kivik/kivik","homepage":"","size":1184,"stargazers_count":64,"watchers_count":64,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":13,"open_issues":3,"watchers":64,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/go-kivik/kivik/pulls/314"},"html":{"href":"https://github.com/go-kivik/kivik/pull/314"},"issue":{"href":"https://api.github.com/repos/go-kivik/kivik/issues/314"},"comments":{"href":"https://api.github.com/repos/go-kivik/kivik/issues/314/comments"},"review_comments":{"href":"https://api.github.com/repos/go-kivik/kivik/pulls/314/comments"},"review_comment":{"href":"https://api.github.com/repos/go-kivik/kivik/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/go-kivik/kivik/pulls/314/commits"},"statuses":{"href":"https://api.github.com/repos/go-kivik/kivik/statuses/fe4846e3dcfaaee9e1f98e6e2f031eab2d9fe353"}},"author_association":"NONE","merged":false,"mergeable":true,"rebaseable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":19,"deletions":5,"changed_files":3}}
{"actor":{"display_login":"thebho"}}