{"action":"created","comment":{"url":"https://api.github.com/repos/coryb/oreo/pulls/comments/199230606","pull_request_review_id":133314807,"id":199230606,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5OTIzMDYwNg==","diff_hunk":"@@ -378,130 +379,130 @@ func (c *Client) Do(req *http.Request) (resp *http.Response, err error) {\n \treturn resp, err\n }\n \n-func (c *Client) Get(urlStr string) (resp *http.Response, err error) {\n+func (c *Client) Get(ctx context.Context, urlStr string) (resp *http.Response, err error) {","path":"oreo.go","position":13,"original_position":13,"commit_id":"c59f85b63f7db9d0dde9d72525e186fd3e0bfe31","original_commit_id":"c59f85b63f7db9d0dde9d72525e186fd3e0bfe31","user":{"login":"coryb","id":60973,"node_id":"MDQ6VXNlcjYwOTcz","avatar_url":"https://avatars3.githubusercontent.com/u/60973?v=4","gravatar_id":"","url":"https://api.github.com/users/coryb","html_url":"https://github.com/coryb","followers_url":"https://api.github.com/users/coryb/followers","following_url":"https://api.github.com/users/coryb/following{/other_user}","gists_url":"https://api.github.com/users/coryb/gists{/gist_id}","starred_url":"https://api.github.com/users/coryb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coryb/subscriptions","organizations_url":"https://api.github.com/users/coryb/orgs","repos_url":"https://api.github.com/users/coryb/repos","events_url":"https://api.github.com/users/coryb/events{/privacy}","received_events_url":"https://api.github.com/users/coryb/received_events","type":"User","site_admin":false},"body":"How is it not goroutine safe?  o.WithContext() returns a copy.","created_at":"2018-06-29T17:35:20Z","updated_at":"2018-06-29T17:35:20Z","html_url":"https://github.com/coryb/oreo/pull/2#discussion_r199230606","pull_request_url":"https://api.github.com/repos/coryb/oreo/pulls/2","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/coryb/oreo/pulls/comments/199230606"},"html":{"href":"https://github.com/coryb/oreo/pull/2#discussion_r199230606"},"pull_request":{"href":"https://api.github.com/repos/coryb/oreo/pulls/2"}},"in_reply_to_id":199062100},"pull_request":{"url":"https://api.github.com/repos/coryb/oreo/pulls/2","id":198221049,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MjIxMDQ5","html_url":"https://github.com/coryb/oreo/pull/2","diff_url":"https://github.com/coryb/oreo/pull/2.diff","patch_url":"https://github.com/coryb/oreo/pull/2.patch","issue_url":"https://api.github.com/repos/coryb/oreo/issues/2","number":2,"state":"open","locked":false,"title":"Add context.Context to requests","user":{"login":"hinshun","id":6493975,"node_id":"MDQ6VXNlcjY0OTM5NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/6493975?v=4","gravatar_id":"","url":"https://api.github.com/users/hinshun","html_url":"https://github.com/hinshun","followers_url":"https://api.github.com/users/hinshun/followers","following_url":"https://api.github.com/users/hinshun/following{/other_user}","gists_url":"https://api.github.com/users/hinshun/gists{/gist_id}","starred_url":"https://api.github.com/users/hinshun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hinshun/subscriptions","organizations_url":"https://api.github.com/users/hinshun/orgs","repos_url":"https://api.github.com/users/hinshun/repos","events_url":"https://api.github.com/users/hinshun/events{/privacy}","received_events_url":"https://api.github.com/users/hinshun/received_events","type":"User","site_admin":false},"body":"Adds `context.Context` to oreo requests in the idiomatic way for cancelling HTTP requests.","created_at":"2018-06-29T05:51:41Z","updated_at":"2018-06-29T17:35:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f3479b5f041860c1eb694fe2ec2666b76032f5d0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/coryb/oreo/pulls/2/commits","review_comments_url":"https://api.github.com/repos/coryb/oreo/pulls/2/comments","review_comment_url":"https://api.github.com/repos/coryb/oreo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coryb/oreo/issues/2/comments","statuses_url":"https://api.github.com/repos/coryb/oreo/statuses/c59f85b63f7db9d0dde9d72525e186fd3e0bfe31","head":{"label":"hinshun:ctx","ref":"ctx","sha":"c59f85b63f7db9d0dde9d72525e186fd3e0bfe31","user":{"login":"hinshun","id":6493975,"node_id":"MDQ6VXNlcjY0OTM5NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/6493975?v=4","gravatar_id":"","url":"https://api.github.com/users/hinshun","html_url":"https://github.com/hinshun","followers_url":"https://api.github.com/users/hinshun/followers","following_url":"https://api.github.com/users/hinshun/following{/other_user}","gists_url":"https://api.github.com/users/hinshun/gists{/gist_id}","starred_url":"https://api.github.com/users/hinshun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hinshun/subscriptions","organizations_url":"https://api.github.com/users/hinshun/orgs","repos_url":"https://api.github.com/users/hinshun/repos","events_url":"https://api.github.com/users/hinshun/events{/privacy}","received_events_url":"https://api.github.com/users/hinshun/received_events","type":"User","site_admin":false},"repo":{"id":139106502,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkxMDY1MDI=","name":"oreo","full_name":"hinshun/oreo","owner":{"login":"hinshun","id":6493975,"node_id":"MDQ6VXNlcjY0OTM5NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/6493975?v=4","gravatar_id":"","url":"https://api.github.com/users/hinshun","html_url":"https://github.com/hinshun","followers_url":"https://api.github.com/users/hinshun/followers","following_url":"https://api.github.com/users/hinshun/following{/other_user}","gists_url":"https://api.github.com/users/hinshun/gists{/gist_id}","starred_url":"https://api.github.com/users/hinshun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hinshun/subscriptions","organizations_url":"https://api.github.com/users/hinshun/orgs","repos_url":"https://api.github.com/users/hinshun/repos","events_url":"https://api.github.com/users/hinshun/events{/privacy}","received_events_url":"https://api.github.com/users/hinshun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hinshun/oreo","description":"golang http client library with cookie support","fork":true,"url":"https://api.github.com/repos/hinshun/oreo","forks_url":"https://api.github.com/repos/hinshun/oreo/forks","keys_url":"https://api.github.com/repos/hinshun/oreo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hinshun/oreo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hinshun/oreo/teams","hooks_url":"https://api.github.com/repos/hinshun/oreo/hooks","issue_events_url":"https://api.github.com/repos/hinshun/oreo/issues/events{/number}","events_url":"https://api.github.com/repos/hinshun/oreo/events","assignees_url":"https://api.github.com/repos/hinshun/oreo/assignees{/user}","branches_url":"https://api.github.com/repos/hinshun/oreo/branches{/branch}","tags_url":"https://api.github.com/repos/hinshun/oreo/tags","blobs_url":"https://api.github.com/repos/hinshun/oreo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hinshun/oreo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hinshun/oreo/git/refs{/sha}","trees_url":"https://api.github.com/repos/hinshun/oreo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hinshun/oreo/statuses/{sha}","languages_url":"https://api.github.com/repos/hinshun/oreo/languages","stargazers_url":"https://api.github.com/repos/hinshun/oreo/stargazers","contributors_url":"https://api.github.com/repos/hinshun/oreo/contributors","subscribers_url":"https://api.github.com/repos/hinshun/oreo/subscribers","subscription_url":"https://api.github.com/repos/hinshun/oreo/subscription","commits_url":"https://api.github.com/repos/hinshun/oreo/commits{/sha}","git_commits_url":"https://api.github.com/repos/hinshun/oreo/git/commits{/sha}","comments_url":"https://api.github.com/repos/hinshun/oreo/comments{/number}","issue_comment_url":"https://api.github.com/repos/hinshun/oreo/issues/comments{/number}","contents_url":"https://api.github.com/repos/hinshun/oreo/contents/{+path}","compare_url":"https://api.github.com/repos/hinshun/oreo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hinshun/oreo/merges","archive_url":"https://api.github.com/repos/hinshun/oreo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hinshun/oreo/downloads","issues_url":"https://api.github.com/repos/hinshun/oreo/issues{/number}","pulls_url":"https://api.github.com/repos/hinshun/oreo/pulls{/number}","milestones_url":"https://api.github.com/repos/hinshun/oreo/milestones{/number}","notifications_url":"https://api.github.com/repos/hinshun/oreo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hinshun/oreo/labels{/name}","releases_url":"https://api.github.com/repos/hinshun/oreo/releases{/id}","deployments_url":"https://api.github.com/repos/hinshun/oreo/deployments","created_at":"2018-06-29T05:50:02Z","updated_at":"2018-06-29T05:50:04Z","pushed_at":"2018-06-29T05:50:47Z","git_url":"git://github.com/hinshun/oreo.git","ssh_url":"git@github.com:hinshun/oreo.git","clone_url":"https://github.com/hinshun/oreo.git","svn_url":"https://github.com/hinshun/oreo","homepage":null,"size":194,"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":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"coryb:master","ref":"master","sha":"b44ca14a1507875049a4c9b7148ef9fe0470529d","user":{"login":"coryb","id":60973,"node_id":"MDQ6VXNlcjYwOTcz","avatar_url":"https://avatars3.githubusercontent.com/u/60973?v=4","gravatar_id":"","url":"https://api.github.com/users/coryb","html_url":"https://github.com/coryb","followers_url":"https://api.github.com/users/coryb/followers","following_url":"https://api.github.com/users/coryb/following{/other_user}","gists_url":"https://api.github.com/users/coryb/gists{/gist_id}","starred_url":"https://api.github.com/users/coryb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coryb/subscriptions","organizations_url":"https://api.github.com/users/coryb/orgs","repos_url":"https://api.github.com/users/coryb/repos","events_url":"https://api.github.com/users/coryb/events{/privacy}","received_events_url":"https://api.github.com/users/coryb/received_events","type":"User","site_admin":false},"repo":{"id":70566871,"node_id":"MDEwOlJlcG9zaXRvcnk3MDU2Njg3MQ==","name":"oreo","full_name":"coryb/oreo","owner":{"login":"coryb","id":60973,"node_id":"MDQ6VXNlcjYwOTcz","avatar_url":"https://avatars3.githubusercontent.com/u/60973?v=4","gravatar_id":"","url":"https://api.github.com/users/coryb","html_url":"https://github.com/coryb","followers_url":"https://api.github.com/users/coryb/followers","following_url":"https://api.github.com/users/coryb/following{/other_user}","gists_url":"https://api.github.com/users/coryb/gists{/gist_id}","starred_url":"https://api.github.com/users/coryb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coryb/subscriptions","organizations_url":"https://api.github.com/users/coryb/orgs","repos_url":"https://api.github.com/users/coryb/repos","events_url":"https://api.github.com/users/coryb/events{/privacy}","received_events_url":"https://api.github.com/users/coryb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coryb/oreo","description":"golang http client library with cookie support","fork":false,"url":"https://api.github.com/repos/coryb/oreo","forks_url":"https://api.github.com/repos/coryb/oreo/forks","keys_url":"https://api.github.com/repos/coryb/oreo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coryb/oreo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coryb/oreo/teams","hooks_url":"https://api.github.com/repos/coryb/oreo/hooks","issue_events_url":"https://api.github.com/repos/coryb/oreo/issues/events{/number}","events_url":"https://api.github.com/repos/coryb/oreo/events","assignees_url":"https://api.github.com/repos/coryb/oreo/assignees{/user}","branches_url":"https://api.github.com/repos/coryb/oreo/branches{/branch}","tags_url":"https://api.github.com/repos/coryb/oreo/tags","blobs_url":"https://api.github.com/repos/coryb/oreo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coryb/oreo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coryb/oreo/git/refs{/sha}","trees_url":"https://api.github.com/repos/coryb/oreo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coryb/oreo/statuses/{sha}","languages_url":"https://api.github.com/repos/coryb/oreo/languages","stargazers_url":"https://api.github.com/repos/coryb/oreo/stargazers","contributors_url":"https://api.github.com/repos/coryb/oreo/contributors","subscribers_url":"https://api.github.com/repos/coryb/oreo/subscribers","subscription_url":"https://api.github.com/repos/coryb/oreo/subscription","commits_url":"https://api.github.com/repos/coryb/oreo/commits{/sha}","git_commits_url":"https://api.github.com/repos/coryb/oreo/git/commits{/sha}","comments_url":"https://api.github.com/repos/coryb/oreo/comments{/number}","issue_comment_url":"https://api.github.com/repos/coryb/oreo/issues/comments{/number}","contents_url":"https://api.github.com/repos/coryb/oreo/contents/{+path}","compare_url":"https://api.github.com/repos/coryb/oreo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coryb/oreo/merges","archive_url":"https://api.github.com/repos/coryb/oreo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coryb/oreo/downloads","issues_url":"https://api.github.com/repos/coryb/oreo/issues{/number}","pulls_url":"https://api.github.com/repos/coryb/oreo/pulls{/number}","milestones_url":"https://api.github.com/repos/coryb/oreo/milestones{/number}","notifications_url":"https://api.github.com/repos/coryb/oreo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coryb/oreo/labels{/name}","releases_url":"https://api.github.com/repos/coryb/oreo/releases{/id}","deployments_url":"https://api.github.com/repos/coryb/oreo/deployments","created_at":"2016-10-11T07:21:12Z","updated_at":"2018-06-18T17:24:10Z","pushed_at":"2018-06-29T05:51:42Z","git_url":"git://github.com/coryb/oreo.git","ssh_url":"git@github.com:coryb/oreo.git","clone_url":"https://github.com/coryb/oreo.git","svn_url":"https://github.com/coryb/oreo","homepage":null,"size":193,"stargazers_count":3,"watchers_count":3,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coryb/oreo/pulls/2"},"html":{"href":"https://github.com/coryb/oreo/pull/2"},"issue":{"href":"https://api.github.com/repos/coryb/oreo/issues/2"},"comments":{"href":"https://api.github.com/repos/coryb/oreo/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/coryb/oreo/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/coryb/oreo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coryb/oreo/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/coryb/oreo/statuses/c59f85b63f7db9d0dde9d72525e186fd3e0bfe31"}},"author_association":"NONE"}}
{"actor":{"display_login":"coryb"}}