{"action":"opened","number":24,"pull_request":{"url":"https://api.github.com/repos/sfreiberg/gotwilio/pulls/24","id":187556737,"html_url":"https://github.com/sfreiberg/gotwilio/pull/24","diff_url":"https://github.com/sfreiberg/gotwilio/pull/24.diff","patch_url":"https://github.com/sfreiberg/gotwilio/pull/24.patch","issue_url":"https://api.github.com/repos/sfreiberg/gotwilio/issues/24","number":24,"state":"open","locked":false,"title":"Use custom http.Client as default client, not http.DefaultClient","user":{"login":"romanyx","id":24951760,"avatar_url":"https://avatars1.githubusercontent.com/u/24951760?v=4","gravatar_id":"","url":"https://api.github.com/users/romanyx","html_url":"https://github.com/romanyx","followers_url":"https://api.github.com/users/romanyx/followers","following_url":"https://api.github.com/users/romanyx/following{/other_user}","gists_url":"https://api.github.com/users/romanyx/gists{/gist_id}","starred_url":"https://api.github.com/users/romanyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanyx/subscriptions","organizations_url":"https://api.github.com/users/romanyx/orgs","repos_url":"https://api.github.com/users/romanyx/repos","events_url":"https://api.github.com/users/romanyx/events{/privacy}","received_events_url":"https://api.github.com/users/romanyx/received_events","type":"User","site_admin":false},"body":"Hey! As `http.DefaultClient` hasn't timeout by default, better to specify custom `http.Client` with a timeout.","created_at":"2018-05-11T20:01:31Z","updated_at":"2018-05-11T20:01:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sfreiberg/gotwilio/pulls/24/commits","review_comments_url":"https://api.github.com/repos/sfreiberg/gotwilio/pulls/24/comments","review_comment_url":"https://api.github.com/repos/sfreiberg/gotwilio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sfreiberg/gotwilio/issues/24/comments","statuses_url":"https://api.github.com/repos/sfreiberg/gotwilio/statuses/af327b63fe0040a8e72d00a424ede1f722ae687d","head":{"label":"romanyx:feature/custom_client","ref":"feature/custom_client","sha":"af327b63fe0040a8e72d00a424ede1f722ae687d","user":{"login":"romanyx","id":24951760,"avatar_url":"https://avatars1.githubusercontent.com/u/24951760?v=4","gravatar_id":"","url":"https://api.github.com/users/romanyx","html_url":"https://github.com/romanyx","followers_url":"https://api.github.com/users/romanyx/followers","following_url":"https://api.github.com/users/romanyx/following{/other_user}","gists_url":"https://api.github.com/users/romanyx/gists{/gist_id}","starred_url":"https://api.github.com/users/romanyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanyx/subscriptions","organizations_url":"https://api.github.com/users/romanyx/orgs","repos_url":"https://api.github.com/users/romanyx/repos","events_url":"https://api.github.com/users/romanyx/events{/privacy}","received_events_url":"https://api.github.com/users/romanyx/received_events","type":"User","site_admin":false},"repo":{"id":133079595,"name":"gotwilio","full_name":"romanyx/gotwilio","owner":{"login":"romanyx","id":24951760,"avatar_url":"https://avatars1.githubusercontent.com/u/24951760?v=4","gravatar_id":"","url":"https://api.github.com/users/romanyx","html_url":"https://github.com/romanyx","followers_url":"https://api.github.com/users/romanyx/followers","following_url":"https://api.github.com/users/romanyx/following{/other_user}","gists_url":"https://api.github.com/users/romanyx/gists{/gist_id}","starred_url":"https://api.github.com/users/romanyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanyx/subscriptions","organizations_url":"https://api.github.com/users/romanyx/orgs","repos_url":"https://api.github.com/users/romanyx/repos","events_url":"https://api.github.com/users/romanyx/events{/privacy}","received_events_url":"https://api.github.com/users/romanyx/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/romanyx/gotwilio","description":"Twilio library for Go (golang).","fork":true,"url":"https://api.github.com/repos/romanyx/gotwilio","forks_url":"https://api.github.com/repos/romanyx/gotwilio/forks","keys_url":"https://api.github.com/repos/romanyx/gotwilio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/romanyx/gotwilio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/romanyx/gotwilio/teams","hooks_url":"https://api.github.com/repos/romanyx/gotwilio/hooks","issue_events_url":"https://api.github.com/repos/romanyx/gotwilio/issues/events{/number}","events_url":"https://api.github.com/repos/romanyx/gotwilio/events","assignees_url":"https://api.github.com/repos/romanyx/gotwilio/assignees{/user}","branches_url":"https://api.github.com/repos/romanyx/gotwilio/branches{/branch}","tags_url":"https://api.github.com/repos/romanyx/gotwilio/tags","blobs_url":"https://api.github.com/repos/romanyx/gotwilio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/romanyx/gotwilio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/romanyx/gotwilio/git/refs{/sha}","trees_url":"https://api.github.com/repos/romanyx/gotwilio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/romanyx/gotwilio/statuses/{sha}","languages_url":"https://api.github.com/repos/romanyx/gotwilio/languages","stargazers_url":"https://api.github.com/repos/romanyx/gotwilio/stargazers","contributors_url":"https://api.github.com/repos/romanyx/gotwilio/contributors","subscribers_url":"https://api.github.com/repos/romanyx/gotwilio/subscribers","subscription_url":"https://api.github.com/repos/romanyx/gotwilio/subscription","commits_url":"https://api.github.com/repos/romanyx/gotwilio/commits{/sha}","git_commits_url":"https://api.github.com/repos/romanyx/gotwilio/git/commits{/sha}","comments_url":"https://api.github.com/repos/romanyx/gotwilio/comments{/number}","issue_comment_url":"https://api.github.com/repos/romanyx/gotwilio/issues/comments{/number}","contents_url":"https://api.github.com/repos/romanyx/gotwilio/contents/{+path}","compare_url":"https://api.github.com/repos/romanyx/gotwilio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/romanyx/gotwilio/merges","archive_url":"https://api.github.com/repos/romanyx/gotwilio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/romanyx/gotwilio/downloads","issues_url":"https://api.github.com/repos/romanyx/gotwilio/issues{/number}","pulls_url":"https://api.github.com/repos/romanyx/gotwilio/pulls{/number}","milestones_url":"https://api.github.com/repos/romanyx/gotwilio/milestones{/number}","notifications_url":"https://api.github.com/repos/romanyx/gotwilio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/romanyx/gotwilio/labels{/name}","releases_url":"https://api.github.com/repos/romanyx/gotwilio/releases{/id}","deployments_url":"https://api.github.com/repos/romanyx/gotwilio/deployments","created_at":"2018-05-11T19:17:25Z","updated_at":"2018-05-11T19:17:27Z","pushed_at":"2018-05-11T19:57:50Z","git_url":"git://github.com/romanyx/gotwilio.git","ssh_url":"git@github.com:romanyx/gotwilio.git","clone_url":"https://github.com/romanyx/gotwilio.git","svn_url":"https://github.com/romanyx/gotwilio","homepage":"","size":33,"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":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sfreiberg:master","ref":"master","sha":"929c4ff2451b204e69dcb1062cd59c9810ebf606","user":{"login":"sfreiberg","id":1153662,"avatar_url":"https://avatars2.githubusercontent.com/u/1153662?v=4","gravatar_id":"","url":"https://api.github.com/users/sfreiberg","html_url":"https://github.com/sfreiberg","followers_url":"https://api.github.com/users/sfreiberg/followers","following_url":"https://api.github.com/users/sfreiberg/following{/other_user}","gists_url":"https://api.github.com/users/sfreiberg/gists{/gist_id}","starred_url":"https://api.github.com/users/sfreiberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfreiberg/subscriptions","organizations_url":"https://api.github.com/users/sfreiberg/orgs","repos_url":"https://api.github.com/users/sfreiberg/repos","events_url":"https://api.github.com/users/sfreiberg/events{/privacy}","received_events_url":"https://api.github.com/users/sfreiberg/received_events","type":"User","site_admin":false},"repo":{"id":4382797,"name":"gotwilio","full_name":"sfreiberg/gotwilio","owner":{"login":"sfreiberg","id":1153662,"avatar_url":"https://avatars2.githubusercontent.com/u/1153662?v=4","gravatar_id":"","url":"https://api.github.com/users/sfreiberg","html_url":"https://github.com/sfreiberg","followers_url":"https://api.github.com/users/sfreiberg/followers","following_url":"https://api.github.com/users/sfreiberg/following{/other_user}","gists_url":"https://api.github.com/users/sfreiberg/gists{/gist_id}","starred_url":"https://api.github.com/users/sfreiberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfreiberg/subscriptions","organizations_url":"https://api.github.com/users/sfreiberg/orgs","repos_url":"https://api.github.com/users/sfreiberg/repos","events_url":"https://api.github.com/users/sfreiberg/events{/privacy}","received_events_url":"https://api.github.com/users/sfreiberg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sfreiberg/gotwilio","description":"Twilio library for Go (golang).","fork":false,"url":"https://api.github.com/repos/sfreiberg/gotwilio","forks_url":"https://api.github.com/repos/sfreiberg/gotwilio/forks","keys_url":"https://api.github.com/repos/sfreiberg/gotwilio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sfreiberg/gotwilio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sfreiberg/gotwilio/teams","hooks_url":"https://api.github.com/repos/sfreiberg/gotwilio/hooks","issue_events_url":"https://api.github.com/repos/sfreiberg/gotwilio/issues/events{/number}","events_url":"https://api.github.com/repos/sfreiberg/gotwilio/events","assignees_url":"https://api.github.com/repos/sfreiberg/gotwilio/assignees{/user}","branches_url":"https://api.github.com/repos/sfreiberg/gotwilio/branches{/branch}","tags_url":"https://api.github.com/repos/sfreiberg/gotwilio/tags","blobs_url":"https://api.github.com/repos/sfreiberg/gotwilio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sfreiberg/gotwilio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sfreiberg/gotwilio/git/refs{/sha}","trees_url":"https://api.github.com/repos/sfreiberg/gotwilio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sfreiberg/gotwilio/statuses/{sha}","languages_url":"https://api.github.com/repos/sfreiberg/gotwilio/languages","stargazers_url":"https://api.github.com/repos/sfreiberg/gotwilio/stargazers","contributors_url":"https://api.github.com/repos/sfreiberg/gotwilio/contributors","subscribers_url":"https://api.github.com/repos/sfreiberg/gotwilio/subscribers","subscription_url":"https://api.github.com/repos/sfreiberg/gotwilio/subscription","commits_url":"https://api.github.com/repos/sfreiberg/gotwilio/commits{/sha}","git_commits_url":"https://api.github.com/repos/sfreiberg/gotwilio/git/commits{/sha}","comments_url":"https://api.github.com/repos/sfreiberg/gotwilio/comments{/number}","issue_comment_url":"https://api.github.com/repos/sfreiberg/gotwilio/issues/comments{/number}","contents_url":"https://api.github.com/repos/sfreiberg/gotwilio/contents/{+path}","compare_url":"https://api.github.com/repos/sfreiberg/gotwilio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sfreiberg/gotwilio/merges","archive_url":"https://api.github.com/repos/sfreiberg/gotwilio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sfreiberg/gotwilio/downloads","issues_url":"https://api.github.com/repos/sfreiberg/gotwilio/issues{/number}","pulls_url":"https://api.github.com/repos/sfreiberg/gotwilio/pulls{/number}","milestones_url":"https://api.github.com/repos/sfreiberg/gotwilio/milestones{/number}","notifications_url":"https://api.github.com/repos/sfreiberg/gotwilio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sfreiberg/gotwilio/labels{/name}","releases_url":"https://api.github.com/repos/sfreiberg/gotwilio/releases{/id}","deployments_url":"https://api.github.com/repos/sfreiberg/gotwilio/deployments","created_at":"2012-05-20T05:04:32Z","updated_at":"2018-05-11T19:05:27Z","pushed_at":"2018-04-25T15:08:35Z","git_url":"git://github.com/sfreiberg/gotwilio.git","ssh_url":"git@github.com:sfreiberg/gotwilio.git","clone_url":"https://github.com/sfreiberg/gotwilio.git","svn_url":"https://github.com/sfreiberg/gotwilio","homepage":"","size":33,"stargazers_count":164,"watchers_count":164,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"bsd-2-clause","name":"BSD 2-Clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause"},"forks":52,"open_issues":1,"watchers":164,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sfreiberg/gotwilio/pulls/24"},"html":{"href":"https://github.com/sfreiberg/gotwilio/pull/24"},"issue":{"href":"https://api.github.com/repos/sfreiberg/gotwilio/issues/24"},"comments":{"href":"https://api.github.com/repos/sfreiberg/gotwilio/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/sfreiberg/gotwilio/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/sfreiberg/gotwilio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sfreiberg/gotwilio/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/sfreiberg/gotwilio/statuses/af327b63fe0040a8e72d00a424ede1f722ae687d"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":22,"deletions":20,"changed_files":1}}
{"actor":{"display_login":"romanyx"}}