{"action":"closed","number":20,"pull_request":{"url":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/20","id":66561592,"html_url":"https://github.com/algolia/algoliasearch-client-go/pull/20","diff_url":"https://github.com/algolia/algoliasearch-client-go/pull/20.diff","patch_url":"https://github.com/algolia/algoliasearch-client-go/pull/20.patch","issue_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/20","number":20,"state":"closed","locked":false,"title":"expose http.Client for modification","user":{"login":"maerlyn5","id":826268,"avatar_url":"https://avatars.githubusercontent.com/u/826268?v=3","gravatar_id":"","url":"https://api.github.com/users/maerlyn5","html_url":"https://github.com/maerlyn5","followers_url":"https://api.github.com/users/maerlyn5/followers","following_url":"https://api.github.com/users/maerlyn5/following{/other_user}","gists_url":"https://api.github.com/users/maerlyn5/gists{/gist_id}","starred_url":"https://api.github.com/users/maerlyn5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maerlyn5/subscriptions","organizations_url":"https://api.github.com/users/maerlyn5/orgs","repos_url":"https://api.github.com/users/maerlyn5/repos","events_url":"https://api.github.com/users/maerlyn5/events{/privacy}","received_events_url":"https://api.github.com/users/maerlyn5/received_events","type":"User","site_admin":false},"body":"different use cases require different http.Clients and transports. Rather than having to proxy every possible configuration change on the client/transport, the client should be directly exposed. Also gofmt changes.","created_at":"2016-04-14T22:03:41Z","updated_at":"2016-05-02T11:57:14Z","closed_at":"2016-05-02T11:57:14Z","merged_at":null,"merge_commit_sha":"f4aec1f75ef3e8c9f3633cc3e194b8aa4b1197d7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/20/commits","review_comments_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/20/comments","review_comment_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/20/comments","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/statuses/a147ca8d2f07db1b635a84c8e806697f3fda4231","head":{"label":"bountylabs:master","ref":"master","sha":"a147ca8d2f07db1b635a84c8e806697f3fda4231","user":{"login":"bountylabs","id":7762094,"avatar_url":"https://avatars.githubusercontent.com/u/7762094?v=3","gravatar_id":"","url":"https://api.github.com/users/bountylabs","html_url":"https://github.com/bountylabs","followers_url":"https://api.github.com/users/bountylabs/followers","following_url":"https://api.github.com/users/bountylabs/following{/other_user}","gists_url":"https://api.github.com/users/bountylabs/gists{/gist_id}","starred_url":"https://api.github.com/users/bountylabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bountylabs/subscriptions","organizations_url":"https://api.github.com/users/bountylabs/orgs","repos_url":"https://api.github.com/users/bountylabs/repos","events_url":"https://api.github.com/users/bountylabs/events{/privacy}","received_events_url":"https://api.github.com/users/bountylabs/received_events","type":"Organization","site_admin":false},"repo":{"id":39960875,"name":"algoliasearch-client-go","full_name":"bountylabs/algoliasearch-client-go","owner":{"login":"bountylabs","id":7762094,"avatar_url":"https://avatars.githubusercontent.com/u/7762094?v=3","gravatar_id":"","url":"https://api.github.com/users/bountylabs","html_url":"https://github.com/bountylabs","followers_url":"https://api.github.com/users/bountylabs/followers","following_url":"https://api.github.com/users/bountylabs/following{/other_user}","gists_url":"https://api.github.com/users/bountylabs/gists{/gist_id}","starred_url":"https://api.github.com/users/bountylabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bountylabs/subscriptions","organizations_url":"https://api.github.com/users/bountylabs/orgs","repos_url":"https://api.github.com/users/bountylabs/repos","events_url":"https://api.github.com/users/bountylabs/events{/privacy}","received_events_url":"https://api.github.com/users/bountylabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bountylabs/algoliasearch-client-go","description":"Algolia Search API Client for Go","fork":true,"url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go","forks_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/forks","keys_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/teams","hooks_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/hooks","issue_events_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/issues/events{/number}","events_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/events","assignees_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/assignees{/user}","branches_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/branches{/branch}","tags_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/tags","blobs_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/statuses/{sha}","languages_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/languages","stargazers_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/stargazers","contributors_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/contributors","subscribers_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/subscribers","subscription_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/subscription","commits_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/contents/{+path}","compare_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/merges","archive_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/downloads","issues_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/issues{/number}","pulls_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/pulls{/number}","milestones_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/milestones{/number}","notifications_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/labels{/name}","releases_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/releases{/id}","deployments_url":"https://api.github.com/repos/bountylabs/algoliasearch-client-go/deployments","created_at":"2015-07-30T16:34:45Z","updated_at":"2016-04-14T21:57:37Z","pushed_at":"2016-04-14T22:01:33Z","git_url":"git://github.com/bountylabs/algoliasearch-client-go.git","ssh_url":"git@github.com:bountylabs/algoliasearch-client-go.git","clone_url":"https://github.com/bountylabs/algoliasearch-client-go.git","svn_url":"https://github.com/bountylabs/algoliasearch-client-go","homepage":null,"size":145,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"algolia:master","ref":"master","sha":"50949ccec04b06d3fc062b159cc34c4a31e8075c","user":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"repo":{"id":17736577,"name":"algoliasearch-client-go","full_name":"algolia/algoliasearch-client-go","owner":{"login":"algolia","id":2034458,"avatar_url":"https://avatars.githubusercontent.com/u/2034458?v=3","gravatar_id":"","url":"https://api.github.com/users/algolia","html_url":"https://github.com/algolia","followers_url":"https://api.github.com/users/algolia/followers","following_url":"https://api.github.com/users/algolia/following{/other_user}","gists_url":"https://api.github.com/users/algolia/gists{/gist_id}","starred_url":"https://api.github.com/users/algolia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/algolia/subscriptions","organizations_url":"https://api.github.com/users/algolia/orgs","repos_url":"https://api.github.com/users/algolia/repos","events_url":"https://api.github.com/users/algolia/events{/privacy}","received_events_url":"https://api.github.com/users/algolia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/algolia/algoliasearch-client-go","description":"Algolia Search API Client for Go","fork":false,"url":"https://api.github.com/repos/algolia/algoliasearch-client-go","forks_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/forks","keys_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/teams","hooks_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/hooks","issue_events_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/events{/number}","events_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/events","assignees_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/assignees{/user}","branches_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/branches{/branch}","tags_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/tags","blobs_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/statuses/{sha}","languages_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/languages","stargazers_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/stargazers","contributors_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/contributors","subscribers_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/subscribers","subscription_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/subscription","commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/contents/{+path}","compare_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/merges","archive_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/downloads","issues_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues{/number}","pulls_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls{/number}","milestones_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/milestones{/number}","notifications_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/labels{/name}","releases_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/releases{/id}","deployments_url":"https://api.github.com/repos/algolia/algoliasearch-client-go/deployments","created_at":"2014-03-14T05:41:02Z","updated_at":"2016-03-10T23:43:23Z","pushed_at":"2016-05-02T10:32:54Z","git_url":"git://github.com/algolia/algoliasearch-client-go.git","ssh_url":"git@github.com:algolia/algoliasearch-client-go.git","clone_url":"https://github.com/algolia/algoliasearch-client-go.git","svn_url":"https://github.com/algolia/algoliasearch-client-go","homepage":null,"size":181,"stargazers_count":27,"watchers_count":27,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":2,"forks":12,"open_issues":2,"watchers":27,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/20"},"html":{"href":"https://github.com/algolia/algoliasearch-client-go/pull/20"},"issue":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/20"},"comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/algolia/algoliasearch-client-go/statuses/a147ca8d2f07db1b635a84c8e806697f3fda4231"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":9,"deletions":4,"changed_files":1}}