{"action":"created","comment":{"url":"https://api.github.com/repos/upper/db/pulls/comments/39825762","id":39825762,"diff_hunk":"@@ -149,7 +149,7 @@ func ParseURL(s string) (conn ConnectionURL, err error) {\n \t}\n \n \t// Parsing host.\n-\tconn.Address = db.ParseAddress(u.Host)\n+\tconn.Address = ParseCluster(u.Host)","path":"mongo/connection.go","position":5,"original_position":5,"commit_id":"fed5c8324800542c3c821a906a463b1eb92c4ed0","original_commit_id":"fed5c8324800542c3c821a906a463b1eb92c4ed0","user":{"login":"xiam","id":385670,"avatar_url":"https://avatars.githubusercontent.com/u/385670?v=3","gravatar_id":"","url":"https://api.github.com/users/xiam","html_url":"https://github.com/xiam","followers_url":"https://api.github.com/users/xiam/followers","following_url":"https://api.github.com/users/xiam/following{/other_user}","gists_url":"https://api.github.com/users/xiam/gists{/gist_id}","starred_url":"https://api.github.com/users/xiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiam/subscriptions","organizations_url":"https://api.github.com/users/xiam/orgs","repos_url":"https://api.github.com/users/xiam/repos","events_url":"https://api.github.com/users/xiam/events{/privacy}","received_events_url":"https://api.github.com/users/xiam/received_events","type":"User","site_admin":false},"body":"Cool!","created_at":"2015-09-18T05:45:28Z","updated_at":"2015-09-18T05:45:28Z","html_url":"https://github.com/upper/db/pull/125#discussion_r39825762","pull_request_url":"https://api.github.com/repos/upper/db/pulls/125","_links":{"self":{"href":"https://api.github.com/repos/upper/db/pulls/comments/39825762"},"html":{"href":"https://github.com/upper/db/pull/125#discussion_r39825762"},"pull_request":{"href":"https://api.github.com/repos/upper/db/pulls/125"}}},"pull_request":{"url":"https://api.github.com/repos/upper/db/pulls/125","id":45369896,"html_url":"https://github.com/upper/db/pull/125","diff_url":"https://github.com/upper/db/pull/125.diff","patch_url":"https://github.com/upper/db/pull/125.patch","issue_url":"https://api.github.com/repos/upper/db/issues/125","number":125,"state":"open","locked":false,"title":"Fixed issue of multiple hosts with ports on ParseURl","user":{"login":"evalvarez12","id":2703938,"avatar_url":"https://avatars.githubusercontent.com/u/2703938?v=3","gravatar_id":"","url":"https://api.github.com/users/evalvarez12","html_url":"https://github.com/evalvarez12","followers_url":"https://api.github.com/users/evalvarez12/followers","following_url":"https://api.github.com/users/evalvarez12/following{/other_user}","gists_url":"https://api.github.com/users/evalvarez12/gists{/gist_id}","starred_url":"https://api.github.com/users/evalvarez12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evalvarez12/subscriptions","organizations_url":"https://api.github.com/users/evalvarez12/orgs","repos_url":"https://api.github.com/users/evalvarez12/repos","events_url":"https://api.github.com/users/evalvarez12/events{/privacy}","received_events_url":"https://api.github.com/users/evalvarez12/received_events","type":"User","site_admin":false},"body":"Small change to `ParseURL` to allow receiving for multiple hosts with ports.","created_at":"2015-09-18T05:12:49Z","updated_at":"2015-09-18T05:45:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9cce4e42c01244aa61ff390d17ccd77de030a62","assignee":{"login":"xiam","id":385670,"avatar_url":"https://avatars.githubusercontent.com/u/385670?v=3","gravatar_id":"","url":"https://api.github.com/users/xiam","html_url":"https://github.com/xiam","followers_url":"https://api.github.com/users/xiam/followers","following_url":"https://api.github.com/users/xiam/following{/other_user}","gists_url":"https://api.github.com/users/xiam/gists{/gist_id}","starred_url":"https://api.github.com/users/xiam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiam/subscriptions","organizations_url":"https://api.github.com/users/xiam/orgs","repos_url":"https://api.github.com/users/xiam/repos","events_url":"https://api.github.com/users/xiam/events{/privacy}","received_events_url":"https://api.github.com/users/xiam/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/upper/db/pulls/125/commits","review_comments_url":"https://api.github.com/repos/upper/db/pulls/125/comments","review_comment_url":"https://api.github.com/repos/upper/db/pulls/comments{/number}","comments_url":"https://api.github.com/repos/upper/db/issues/125/comments","statuses_url":"https://api.github.com/repos/upper/db/statuses/fed5c8324800542c3c821a906a463b1eb92c4ed0","head":{"label":"upper:issue-114","ref":"issue-114","sha":"fed5c8324800542c3c821a906a463b1eb92c4ed0","user":{"login":"upper","id":5751296,"avatar_url":"https://avatars.githubusercontent.com/u/5751296?v=3","gravatar_id":"","url":"https://api.github.com/users/upper","html_url":"https://github.com/upper","followers_url":"https://api.github.com/users/upper/followers","following_url":"https://api.github.com/users/upper/following{/other_user}","gists_url":"https://api.github.com/users/upper/gists{/gist_id}","starred_url":"https://api.github.com/users/upper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upper/subscriptions","organizations_url":"https://api.github.com/users/upper/orgs","repos_url":"https://api.github.com/users/upper/repos","events_url":"https://api.github.com/users/upper/events{/privacy}","received_events_url":"https://api.github.com/users/upper/received_events","type":"Organization","site_admin":false},"repo":{"id":13791239,"name":"db","full_name":"upper/db","owner":{"login":"upper","id":5751296,"avatar_url":"https://avatars.githubusercontent.com/u/5751296?v=3","gravatar_id":"","url":"https://api.github.com/users/upper","html_url":"https://github.com/upper","followers_url":"https://api.github.com/users/upper/followers","following_url":"https://api.github.com/users/upper/following{/other_user}","gists_url":"https://api.github.com/users/upper/gists{/gist_id}","starred_url":"https://api.github.com/users/upper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upper/subscriptions","organizations_url":"https://api.github.com/users/upper/orgs","repos_url":"https://api.github.com/users/upper/repos","events_url":"https://api.github.com/users/upper/events{/privacy}","received_events_url":"https://api.github.com/users/upper/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/upper/db","description":"Magic-free ORM-like package for Go.","fork":false,"url":"https://api.github.com/repos/upper/db","forks_url":"https://api.github.com/repos/upper/db/forks","keys_url":"https://api.github.com/repos/upper/db/keys{/key_id}","collaborators_url":"https://api.github.com/repos/upper/db/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/upper/db/teams","hooks_url":"https://api.github.com/repos/upper/db/hooks","issue_events_url":"https://api.github.com/repos/upper/db/issues/events{/number}","events_url":"https://api.github.com/repos/upper/db/events","assignees_url":"https://api.github.com/repos/upper/db/assignees{/user}","branches_url":"https://api.github.com/repos/upper/db/branches{/branch}","tags_url":"https://api.github.com/repos/upper/db/tags","blobs_url":"https://api.github.com/repos/upper/db/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/upper/db/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/upper/db/git/refs{/sha}","trees_url":"https://api.github.com/repos/upper/db/git/trees{/sha}","statuses_url":"https://api.github.com/repos/upper/db/statuses/{sha}","languages_url":"https://api.github.com/repos/upper/db/languages","stargazers_url":"https://api.github.com/repos/upper/db/stargazers","contributors_url":"https://api.github.com/repos/upper/db/contributors","subscribers_url":"https://api.github.com/repos/upper/db/subscribers","subscription_url":"https://api.github.com/repos/upper/db/subscription","commits_url":"https://api.github.com/repos/upper/db/commits{/sha}","git_commits_url":"https://api.github.com/repos/upper/db/git/commits{/sha}","comments_url":"https://api.github.com/repos/upper/db/comments{/number}","issue_comment_url":"https://api.github.com/repos/upper/db/issues/comments{/number}","contents_url":"https://api.github.com/repos/upper/db/contents/{+path}","compare_url":"https://api.github.com/repos/upper/db/compare/{base}...{head}","merges_url":"https://api.github.com/repos/upper/db/merges","archive_url":"https://api.github.com/repos/upper/db/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/upper/db/downloads","issues_url":"https://api.github.com/repos/upper/db/issues{/number}","pulls_url":"https://api.github.com/repos/upper/db/pulls{/number}","milestones_url":"https://api.github.com/repos/upper/db/milestones{/number}","notifications_url":"https://api.github.com/repos/upper/db/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/upper/db/labels{/name}","releases_url":"https://api.github.com/repos/upper/db/releases{/id}","created_at":"2013-10-23T02:04:36Z","updated_at":"2015-09-18T01:05:49Z","pushed_at":"2015-09-18T05:12:49Z","git_url":"git://github.com/upper/db.git","ssh_url":"git@github.com:upper/db.git","clone_url":"https://github.com/upper/db.git","svn_url":"https://github.com/upper/db","homepage":"https://upper.io/db","size":4174,"stargazers_count":265,"watchers_count":265,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":24,"forks":30,"open_issues":24,"watchers":265,"default_branch":"master"}},"base":{"label":"upper:master","ref":"master","sha":"d6ee288252cb39a368abce77ca9eaacf496f1be1","user":{"login":"upper","id":5751296,"avatar_url":"https://avatars.githubusercontent.com/u/5751296?v=3","gravatar_id":"","url":"https://api.github.com/users/upper","html_url":"https://github.com/upper","followers_url":"https://api.github.com/users/upper/followers","following_url":"https://api.github.com/users/upper/following{/other_user}","gists_url":"https://api.github.com/users/upper/gists{/gist_id}","starred_url":"https://api.github.com/users/upper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upper/subscriptions","organizations_url":"https://api.github.com/users/upper/orgs","repos_url":"https://api.github.com/users/upper/repos","events_url":"https://api.github.com/users/upper/events{/privacy}","received_events_url":"https://api.github.com/users/upper/received_events","type":"Organization","site_admin":false},"repo":{"id":13791239,"name":"db","full_name":"upper/db","owner":{"login":"upper","id":5751296,"avatar_url":"https://avatars.githubusercontent.com/u/5751296?v=3","gravatar_id":"","url":"https://api.github.com/users/upper","html_url":"https://github.com/upper","followers_url":"https://api.github.com/users/upper/followers","following_url":"https://api.github.com/users/upper/following{/other_user}","gists_url":"https://api.github.com/users/upper/gists{/gist_id}","starred_url":"https://api.github.com/users/upper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/upper/subscriptions","organizations_url":"https://api.github.com/users/upper/orgs","repos_url":"https://api.github.com/users/upper/repos","events_url":"https://api.github.com/users/upper/events{/privacy}","received_events_url":"https://api.github.com/users/upper/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/upper/db","description":"Magic-free ORM-like package for Go.","fork":false,"url":"https://api.github.com/repos/upper/db","forks_url":"https://api.github.com/repos/upper/db/forks","keys_url":"https://api.github.com/repos/upper/db/keys{/key_id}","collaborators_url":"https://api.github.com/repos/upper/db/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/upper/db/teams","hooks_url":"https://api.github.com/repos/upper/db/hooks","issue_events_url":"https://api.github.com/repos/upper/db/issues/events{/number}","events_url":"https://api.github.com/repos/upper/db/events","assignees_url":"https://api.github.com/repos/upper/db/assignees{/user}","branches_url":"https://api.github.com/repos/upper/db/branches{/branch}","tags_url":"https://api.github.com/repos/upper/db/tags","blobs_url":"https://api.github.com/repos/upper/db/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/upper/db/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/upper/db/git/refs{/sha}","trees_url":"https://api.github.com/repos/upper/db/git/trees{/sha}","statuses_url":"https://api.github.com/repos/upper/db/statuses/{sha}","languages_url":"https://api.github.com/repos/upper/db/languages","stargazers_url":"https://api.github.com/repos/upper/db/stargazers","contributors_url":"https://api.github.com/repos/upper/db/contributors","subscribers_url":"https://api.github.com/repos/upper/db/subscribers","subscription_url":"https://api.github.com/repos/upper/db/subscription","commits_url":"https://api.github.com/repos/upper/db/commits{/sha}","git_commits_url":"https://api.github.com/repos/upper/db/git/commits{/sha}","comments_url":"https://api.github.com/repos/upper/db/comments{/number}","issue_comment_url":"https://api.github.com/repos/upper/db/issues/comments{/number}","contents_url":"https://api.github.com/repos/upper/db/contents/{+path}","compare_url":"https://api.github.com/repos/upper/db/compare/{base}...{head}","merges_url":"https://api.github.com/repos/upper/db/merges","archive_url":"https://api.github.com/repos/upper/db/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/upper/db/downloads","issues_url":"https://api.github.com/repos/upper/db/issues{/number}","pulls_url":"https://api.github.com/repos/upper/db/pulls{/number}","milestones_url":"https://api.github.com/repos/upper/db/milestones{/number}","notifications_url":"https://api.github.com/repos/upper/db/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/upper/db/labels{/name}","releases_url":"https://api.github.com/repos/upper/db/releases{/id}","created_at":"2013-10-23T02:04:36Z","updated_at":"2015-09-18T01:05:49Z","pushed_at":"2015-09-18T05:12:49Z","git_url":"git://github.com/upper/db.git","ssh_url":"git@github.com:upper/db.git","clone_url":"https://github.com/upper/db.git","svn_url":"https://github.com/upper/db","homepage":"https://upper.io/db","size":4174,"stargazers_count":265,"watchers_count":265,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":30,"mirror_url":null,"open_issues_count":24,"forks":30,"open_issues":24,"watchers":265,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/upper/db/pulls/125"},"html":{"href":"https://github.com/upper/db/pull/125"},"issue":{"href":"https://api.github.com/repos/upper/db/issues/125"},"comments":{"href":"https://api.github.com/repos/upper/db/issues/125/comments"},"review_comments":{"href":"https://api.github.com/repos/upper/db/pulls/125/comments"},"review_comment":{"href":"https://api.github.com/repos/upper/db/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/upper/db/pulls/125/commits"},"statuses":{"href":"https://api.github.com/repos/upper/db/statuses/fed5c8324800542c3c821a906a463b1eb92c4ed0"}}}}