{"action":"created","comment":{"url":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls/comments/64542469","id":64542469,"diff_hunk":"@@ -37,7 +41,9 @@ func (client Client) Call(method string, params interface{}, results interface{}\n \t\tfmt.Printf(\"REQUEST: %s\\n\", string(reqBytes))\n \t}\n \treq, err := http.NewRequest(\"POST\", client.addr, bytes.NewBuffer(reqBytes))\n-\n+\tif client.username != nil {","path":"client.go","position":22,"original_position":22,"commit_id":"3342c82527a2a9672c6999d0e1f7187a9e4136c0","original_commit_id":"3342c82527a2a9672c6999d0e1f7187a9e4136c0","user":{"login":"nicwest","id":794070,"avatar_url":"https://avatars.githubusercontent.com/u/794070?v=3","gravatar_id":"","url":"https://api.github.com/users/nicwest","html_url":"https://github.com/nicwest","followers_url":"https://api.github.com/users/nicwest/followers","following_url":"https://api.github.com/users/nicwest/following{/other_user}","gists_url":"https://api.github.com/users/nicwest/gists{/gist_id}","starred_url":"https://api.github.com/users/nicwest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicwest/subscriptions","organizations_url":"https://api.github.com/users/nicwest/orgs","repos_url":"https://api.github.com/users/nicwest/repos","events_url":"https://api.github.com/users/nicwest/events{/privacy}","received_events_url":"https://api.github.com/users/nicwest/received_events","type":"User","site_admin":false},"body":"this is never going to be nil, not even sure if it will build should compare to != \"\"","created_at":"2016-05-25T09:32:14Z","updated_at":"2016-05-25T09:32:14Z","html_url":"https://github.com/ingresso-group/gojsonrpc/pull/1#discussion_r64542469","pull_request_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls/comments/64542469"},"html":{"href":"https://github.com/ingresso-group/gojsonrpc/pull/1#discussion_r64542469"},"pull_request":{"href":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls/1","id":71357904,"html_url":"https://github.com/ingresso-group/gojsonrpc/pull/1","diff_url":"https://github.com/ingresso-group/gojsonrpc/pull/1.diff","patch_url":"https://github.com/ingresso-group/gojsonrpc/pull/1.patch","issue_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/issues/1","number":1,"state":"open","locked":false,"title":"Adds (optional) basic auth to rpc client","user":{"login":"sholmesy","id":10269652,"avatar_url":"https://avatars.githubusercontent.com/u/10269652?v=3","gravatar_id":"","url":"https://api.github.com/users/sholmesy","html_url":"https://github.com/sholmesy","followers_url":"https://api.github.com/users/sholmesy/followers","following_url":"https://api.github.com/users/sholmesy/following{/other_user}","gists_url":"https://api.github.com/users/sholmesy/gists{/gist_id}","starred_url":"https://api.github.com/users/sholmesy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sholmesy/subscriptions","organizations_url":"https://api.github.com/users/sholmesy/orgs","repos_url":"https://api.github.com/users/sholmesy/repos","events_url":"https://api.github.com/users/sholmesy/events{/privacy}","received_events_url":"https://api.github.com/users/sholmesy/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-25T09:30:38Z","updated_at":"2016-05-25T09:32:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d7fdbc3414199eee1044a6b22cc293b4c285d43b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/issues/1/comments","statuses_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/statuses/3342c82527a2a9672c6999d0e1f7187a9e4136c0","head":{"label":"ingresso-group:add-basic-auth-to-client","ref":"add-basic-auth-to-client","sha":"3342c82527a2a9672c6999d0e1f7187a9e4136c0","user":{"login":"ingresso-group","id":13729009,"avatar_url":"https://avatars.githubusercontent.com/u/13729009?v=3","gravatar_id":"","url":"https://api.github.com/users/ingresso-group","html_url":"https://github.com/ingresso-group","followers_url":"https://api.github.com/users/ingresso-group/followers","following_url":"https://api.github.com/users/ingresso-group/following{/other_user}","gists_url":"https://api.github.com/users/ingresso-group/gists{/gist_id}","starred_url":"https://api.github.com/users/ingresso-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingresso-group/subscriptions","organizations_url":"https://api.github.com/users/ingresso-group/orgs","repos_url":"https://api.github.com/users/ingresso-group/repos","events_url":"https://api.github.com/users/ingresso-group/events{/privacy}","received_events_url":"https://api.github.com/users/ingresso-group/received_events","type":"Organization","site_admin":false},"repo":{"id":56513299,"name":"gojsonrpc","full_name":"ingresso-group/gojsonrpc","owner":{"login":"ingresso-group","id":13729009,"avatar_url":"https://avatars.githubusercontent.com/u/13729009?v=3","gravatar_id":"","url":"https://api.github.com/users/ingresso-group","html_url":"https://github.com/ingresso-group","followers_url":"https://api.github.com/users/ingresso-group/followers","following_url":"https://api.github.com/users/ingresso-group/following{/other_user}","gists_url":"https://api.github.com/users/ingresso-group/gists{/gist_id}","starred_url":"https://api.github.com/users/ingresso-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingresso-group/subscriptions","organizations_url":"https://api.github.com/users/ingresso-group/orgs","repos_url":"https://api.github.com/users/ingresso-group/repos","events_url":"https://api.github.com/users/ingresso-group/events{/privacy}","received_events_url":"https://api.github.com/users/ingresso-group/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ingresso-group/gojsonrpc","description":"Simple json rpc for go","fork":false,"url":"https://api.github.com/repos/ingresso-group/gojsonrpc","forks_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/forks","keys_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/teams","hooks_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/hooks","issue_events_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/issues/events{/number}","events_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/events","assignees_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/assignees{/user}","branches_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/branches{/branch}","tags_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/tags","blobs_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/statuses/{sha}","languages_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/languages","stargazers_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/stargazers","contributors_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/contributors","subscribers_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/subscribers","subscription_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/subscription","commits_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/contents/{+path}","compare_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/merges","archive_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/downloads","issues_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/issues{/number}","pulls_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls{/number}","milestones_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/milestones{/number}","notifications_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/labels{/name}","releases_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/releases{/id}","deployments_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/deployments","created_at":"2016-04-18T14:11:12Z","updated_at":"2016-04-18T14:12:09Z","pushed_at":"2016-05-25T09:30:38Z","git_url":"git://github.com/ingresso-group/gojsonrpc.git","ssh_url":"git@github.com:ingresso-group/gojsonrpc.git","clone_url":"https://github.com/ingresso-group/gojsonrpc.git","svn_url":"https://github.com/ingresso-group/gojsonrpc","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ingresso-group:master","ref":"master","sha":"cd4dcdfeae8a6930376714b1fbc3cc0328303020","user":{"login":"ingresso-group","id":13729009,"avatar_url":"https://avatars.githubusercontent.com/u/13729009?v=3","gravatar_id":"","url":"https://api.github.com/users/ingresso-group","html_url":"https://github.com/ingresso-group","followers_url":"https://api.github.com/users/ingresso-group/followers","following_url":"https://api.github.com/users/ingresso-group/following{/other_user}","gists_url":"https://api.github.com/users/ingresso-group/gists{/gist_id}","starred_url":"https://api.github.com/users/ingresso-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingresso-group/subscriptions","organizations_url":"https://api.github.com/users/ingresso-group/orgs","repos_url":"https://api.github.com/users/ingresso-group/repos","events_url":"https://api.github.com/users/ingresso-group/events{/privacy}","received_events_url":"https://api.github.com/users/ingresso-group/received_events","type":"Organization","site_admin":false},"repo":{"id":56513299,"name":"gojsonrpc","full_name":"ingresso-group/gojsonrpc","owner":{"login":"ingresso-group","id":13729009,"avatar_url":"https://avatars.githubusercontent.com/u/13729009?v=3","gravatar_id":"","url":"https://api.github.com/users/ingresso-group","html_url":"https://github.com/ingresso-group","followers_url":"https://api.github.com/users/ingresso-group/followers","following_url":"https://api.github.com/users/ingresso-group/following{/other_user}","gists_url":"https://api.github.com/users/ingresso-group/gists{/gist_id}","starred_url":"https://api.github.com/users/ingresso-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ingresso-group/subscriptions","organizations_url":"https://api.github.com/users/ingresso-group/orgs","repos_url":"https://api.github.com/users/ingresso-group/repos","events_url":"https://api.github.com/users/ingresso-group/events{/privacy}","received_events_url":"https://api.github.com/users/ingresso-group/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ingresso-group/gojsonrpc","description":"Simple json rpc for go","fork":false,"url":"https://api.github.com/repos/ingresso-group/gojsonrpc","forks_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/forks","keys_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/teams","hooks_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/hooks","issue_events_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/issues/events{/number}","events_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/events","assignees_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/assignees{/user}","branches_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/branches{/branch}","tags_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/tags","blobs_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/statuses/{sha}","languages_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/languages","stargazers_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/stargazers","contributors_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/contributors","subscribers_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/subscribers","subscription_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/subscription","commits_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/contents/{+path}","compare_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/merges","archive_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/downloads","issues_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/issues{/number}","pulls_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls{/number}","milestones_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/milestones{/number}","notifications_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/labels{/name}","releases_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/releases{/id}","deployments_url":"https://api.github.com/repos/ingresso-group/gojsonrpc/deployments","created_at":"2016-04-18T14:11:12Z","updated_at":"2016-04-18T14:12:09Z","pushed_at":"2016-05-25T09:30:38Z","git_url":"git://github.com/ingresso-group/gojsonrpc.git","ssh_url":"git@github.com:ingresso-group/gojsonrpc.git","clone_url":"https://github.com/ingresso-group/gojsonrpc.git","svn_url":"https://github.com/ingresso-group/gojsonrpc","homepage":null,"size":7,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls/1"},"html":{"href":"https://github.com/ingresso-group/gojsonrpc/pull/1"},"issue":{"href":"https://api.github.com/repos/ingresso-group/gojsonrpc/issues/1"},"comments":{"href":"https://api.github.com/repos/ingresso-group/gojsonrpc/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ingresso-group/gojsonrpc/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ingresso-group/gojsonrpc/statuses/3342c82527a2a9672c6999d0e1f7187a9e4136c0"}}}}
{"actor":{"display_login":"nicwest"}}