{"action":"created","comment":{"url":"https://api.github.com/repos/devlucky/maporable-api/pulls/comments/85068322","pull_request_review_id":5803976,"id":85068322,"diff_hunk":"@@ -6,17 +6,78 @@ import (\n \t\"log\"\n \t\"github.com/julienschmidt/httprouter\"\n \t\"github.com/devlucky/maporable-api/api\"\n+\t\"github.com/devlucky/maporable-api/adapters/trip_repo\"\n+\t\"github.com/devlucky/maporable-api/config\"\n+\t\"golang.org/x/oauth2\"\n+\t\"golang.org/x/oauth2/facebook\"\n+\t\"encoding/json\"\n+\t\"io/ioutil\"\n )\n \n+const userConfFilename string = \"conf.json\"\n+\n+// TODO: Move this to API\n func Ping(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {\n \tfmt.Fprint(w, \"pong\")","path":"main.go","position":16,"original_position":16,"commit_id":"e2ddc4b1357f524786632bb2af6e51543f311ead","original_commit_id":"e2ddc4b1357f524786632bb2af6e51543f311ead","user":{"login":"groyoh","id":7434196,"avatar_url":"https://avatars.githubusercontent.com/u/7434196?v=3","gravatar_id":"","url":"https://api.github.com/users/groyoh","html_url":"https://github.com/groyoh","followers_url":"https://api.github.com/users/groyoh/followers","following_url":"https://api.github.com/users/groyoh/following{/other_user}","gists_url":"https://api.github.com/users/groyoh/gists{/gist_id}","starred_url":"https://api.github.com/users/groyoh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groyoh/subscriptions","organizations_url":"https://api.github.com/users/groyoh/orgs","repos_url":"https://api.github.com/users/groyoh/repos","events_url":"https://api.github.com/users/groyoh/events{/privacy}","received_events_url":"https://api.github.com/users/groyoh/received_events","type":"User","site_admin":false},"body":"Nice :grin: ","created_at":"2016-10-26T08:05:00Z","updated_at":"2016-10-26T08:05:00Z","html_url":"https://github.com/devlucky/maporable-api/pull/6#discussion_r85068322","pull_request_url":"https://api.github.com/repos/devlucky/maporable-api/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/devlucky/maporable-api/pulls/comments/85068322"},"html":{"href":"https://github.com/devlucky/maporable-api/pull/6#discussion_r85068322"},"pull_request":{"href":"https://api.github.com/repos/devlucky/maporable-api/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/devlucky/maporable-api/pulls/6","id":90848961,"html_url":"https://github.com/devlucky/maporable-api/pull/6","diff_url":"https://github.com/devlucky/maporable-api/pull/6.diff","patch_url":"https://github.com/devlucky/maporable-api/pull/6.patch","issue_url":"https://api.github.com/repos/devlucky/maporable-api/issues/6","number":6,"state":"open","locked":false,"title":"[WIP] Feature/facebook login","user":{"login":"larribas","id":3601671,"avatar_url":"https://avatars.githubusercontent.com/u/3601671?v=3","gravatar_id":"","url":"https://api.github.com/users/larribas","html_url":"https://github.com/larribas","followers_url":"https://api.github.com/users/larribas/followers","following_url":"https://api.github.com/users/larribas/following{/other_user}","gists_url":"https://api.github.com/users/larribas/gists{/gist_id}","starred_url":"https://api.github.com/users/larribas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/larribas/subscriptions","organizations_url":"https://api.github.com/users/larribas/orgs","repos_url":"https://api.github.com/users/larribas/repos","events_url":"https://api.github.com/users/larribas/events{/privacy}","received_events_url":"https://api.github.com/users/larribas/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-25T16:58:39Z","updated_at":"2016-10-26T08:23:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02f59634d3f0e50fe889e73cc8a61c7a603b619b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/devlucky/maporable-api/pulls/6/commits","review_comments_url":"https://api.github.com/repos/devlucky/maporable-api/pulls/6/comments","review_comment_url":"https://api.github.com/repos/devlucky/maporable-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/devlucky/maporable-api/issues/6/comments","statuses_url":"https://api.github.com/repos/devlucky/maporable-api/statuses/e2ddc4b1357f524786632bb2af6e51543f311ead","head":{"label":"devlucky:feature/facebook-login","ref":"feature/facebook-login","sha":"e2ddc4b1357f524786632bb2af6e51543f311ead","user":{"login":"devlucky","id":18127620,"avatar_url":"https://avatars.githubusercontent.com/u/18127620?v=3","gravatar_id":"","url":"https://api.github.com/users/devlucky","html_url":"https://github.com/devlucky","followers_url":"https://api.github.com/users/devlucky/followers","following_url":"https://api.github.com/users/devlucky/following{/other_user}","gists_url":"https://api.github.com/users/devlucky/gists{/gist_id}","starred_url":"https://api.github.com/users/devlucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlucky/subscriptions","organizations_url":"https://api.github.com/users/devlucky/orgs","repos_url":"https://api.github.com/users/devlucky/repos","events_url":"https://api.github.com/users/devlucky/events{/privacy}","received_events_url":"https://api.github.com/users/devlucky/received_events","type":"Organization","site_admin":false},"repo":{"id":71055937,"name":"maporable-api","full_name":"devlucky/maporable-api","owner":{"login":"devlucky","id":18127620,"avatar_url":"https://avatars.githubusercontent.com/u/18127620?v=3","gravatar_id":"","url":"https://api.github.com/users/devlucky","html_url":"https://github.com/devlucky","followers_url":"https://api.github.com/users/devlucky/followers","following_url":"https://api.github.com/users/devlucky/following{/other_user}","gists_url":"https://api.github.com/users/devlucky/gists{/gist_id}","starred_url":"https://api.github.com/users/devlucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlucky/subscriptions","organizations_url":"https://api.github.com/users/devlucky/orgs","repos_url":"https://api.github.com/users/devlucky/repos","events_url":"https://api.github.com/users/devlucky/events{/privacy}","received_events_url":"https://api.github.com/users/devlucky/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/devlucky/maporable-api","description":"See where have you gone and show where will you be going","fork":false,"url":"https://api.github.com/repos/devlucky/maporable-api","forks_url":"https://api.github.com/repos/devlucky/maporable-api/forks","keys_url":"https://api.github.com/repos/devlucky/maporable-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devlucky/maporable-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devlucky/maporable-api/teams","hooks_url":"https://api.github.com/repos/devlucky/maporable-api/hooks","issue_events_url":"https://api.github.com/repos/devlucky/maporable-api/issues/events{/number}","events_url":"https://api.github.com/repos/devlucky/maporable-api/events","assignees_url":"https://api.github.com/repos/devlucky/maporable-api/assignees{/user}","branches_url":"https://api.github.com/repos/devlucky/maporable-api/branches{/branch}","tags_url":"https://api.github.com/repos/devlucky/maporable-api/tags","blobs_url":"https://api.github.com/repos/devlucky/maporable-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devlucky/maporable-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devlucky/maporable-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/devlucky/maporable-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devlucky/maporable-api/statuses/{sha}","languages_url":"https://api.github.com/repos/devlucky/maporable-api/languages","stargazers_url":"https://api.github.com/repos/devlucky/maporable-api/stargazers","contributors_url":"https://api.github.com/repos/devlucky/maporable-api/contributors","subscribers_url":"https://api.github.com/repos/devlucky/maporable-api/subscribers","subscription_url":"https://api.github.com/repos/devlucky/maporable-api/subscription","commits_url":"https://api.github.com/repos/devlucky/maporable-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/devlucky/maporable-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/devlucky/maporable-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/devlucky/maporable-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/devlucky/maporable-api/contents/{+path}","compare_url":"https://api.github.com/repos/devlucky/maporable-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devlucky/maporable-api/merges","archive_url":"https://api.github.com/repos/devlucky/maporable-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devlucky/maporable-api/downloads","issues_url":"https://api.github.com/repos/devlucky/maporable-api/issues{/number}","pulls_url":"https://api.github.com/repos/devlucky/maporable-api/pulls{/number}","milestones_url":"https://api.github.com/repos/devlucky/maporable-api/milestones{/number}","notifications_url":"https://api.github.com/repos/devlucky/maporable-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devlucky/maporable-api/labels{/name}","releases_url":"https://api.github.com/repos/devlucky/maporable-api/releases{/id}","deployments_url":"https://api.github.com/repos/devlucky/maporable-api/deployments","created_at":"2016-10-16T14:34:33Z","updated_at":"2016-10-16T15:24:17Z","pushed_at":"2016-10-25T16:58:39Z","git_url":"git://github.com/devlucky/maporable-api.git","ssh_url":"git@github.com:devlucky/maporable-api.git","clone_url":"https://github.com/devlucky/maporable-api.git","svn_url":"https://github.com/devlucky/maporable-api","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"devlucky:master","ref":"master","sha":"e0a552eecdd48dfe925020756df74995d2c2e0ba","user":{"login":"devlucky","id":18127620,"avatar_url":"https://avatars.githubusercontent.com/u/18127620?v=3","gravatar_id":"","url":"https://api.github.com/users/devlucky","html_url":"https://github.com/devlucky","followers_url":"https://api.github.com/users/devlucky/followers","following_url":"https://api.github.com/users/devlucky/following{/other_user}","gists_url":"https://api.github.com/users/devlucky/gists{/gist_id}","starred_url":"https://api.github.com/users/devlucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlucky/subscriptions","organizations_url":"https://api.github.com/users/devlucky/orgs","repos_url":"https://api.github.com/users/devlucky/repos","events_url":"https://api.github.com/users/devlucky/events{/privacy}","received_events_url":"https://api.github.com/users/devlucky/received_events","type":"Organization","site_admin":false},"repo":{"id":71055937,"name":"maporable-api","full_name":"devlucky/maporable-api","owner":{"login":"devlucky","id":18127620,"avatar_url":"https://avatars.githubusercontent.com/u/18127620?v=3","gravatar_id":"","url":"https://api.github.com/users/devlucky","html_url":"https://github.com/devlucky","followers_url":"https://api.github.com/users/devlucky/followers","following_url":"https://api.github.com/users/devlucky/following{/other_user}","gists_url":"https://api.github.com/users/devlucky/gists{/gist_id}","starred_url":"https://api.github.com/users/devlucky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devlucky/subscriptions","organizations_url":"https://api.github.com/users/devlucky/orgs","repos_url":"https://api.github.com/users/devlucky/repos","events_url":"https://api.github.com/users/devlucky/events{/privacy}","received_events_url":"https://api.github.com/users/devlucky/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/devlucky/maporable-api","description":"See where have you gone and show where will you be going","fork":false,"url":"https://api.github.com/repos/devlucky/maporable-api","forks_url":"https://api.github.com/repos/devlucky/maporable-api/forks","keys_url":"https://api.github.com/repos/devlucky/maporable-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/devlucky/maporable-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/devlucky/maporable-api/teams","hooks_url":"https://api.github.com/repos/devlucky/maporable-api/hooks","issue_events_url":"https://api.github.com/repos/devlucky/maporable-api/issues/events{/number}","events_url":"https://api.github.com/repos/devlucky/maporable-api/events","assignees_url":"https://api.github.com/repos/devlucky/maporable-api/assignees{/user}","branches_url":"https://api.github.com/repos/devlucky/maporable-api/branches{/branch}","tags_url":"https://api.github.com/repos/devlucky/maporable-api/tags","blobs_url":"https://api.github.com/repos/devlucky/maporable-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/devlucky/maporable-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/devlucky/maporable-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/devlucky/maporable-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/devlucky/maporable-api/statuses/{sha}","languages_url":"https://api.github.com/repos/devlucky/maporable-api/languages","stargazers_url":"https://api.github.com/repos/devlucky/maporable-api/stargazers","contributors_url":"https://api.github.com/repos/devlucky/maporable-api/contributors","subscribers_url":"https://api.github.com/repos/devlucky/maporable-api/subscribers","subscription_url":"https://api.github.com/repos/devlucky/maporable-api/subscription","commits_url":"https://api.github.com/repos/devlucky/maporable-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/devlucky/maporable-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/devlucky/maporable-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/devlucky/maporable-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/devlucky/maporable-api/contents/{+path}","compare_url":"https://api.github.com/repos/devlucky/maporable-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/devlucky/maporable-api/merges","archive_url":"https://api.github.com/repos/devlucky/maporable-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/devlucky/maporable-api/downloads","issues_url":"https://api.github.com/repos/devlucky/maporable-api/issues{/number}","pulls_url":"https://api.github.com/repos/devlucky/maporable-api/pulls{/number}","milestones_url":"https://api.github.com/repos/devlucky/maporable-api/milestones{/number}","notifications_url":"https://api.github.com/repos/devlucky/maporable-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/devlucky/maporable-api/labels{/name}","releases_url":"https://api.github.com/repos/devlucky/maporable-api/releases{/id}","deployments_url":"https://api.github.com/repos/devlucky/maporable-api/deployments","created_at":"2016-10-16T14:34:33Z","updated_at":"2016-10-16T15:24:17Z","pushed_at":"2016-10-25T16:58:39Z","git_url":"git://github.com/devlucky/maporable-api.git","ssh_url":"git@github.com:devlucky/maporable-api.git","clone_url":"https://github.com/devlucky/maporable-api.git","svn_url":"https://github.com/devlucky/maporable-api","homepage":null,"size":10,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/devlucky/maporable-api/pulls/6"},"html":{"href":"https://github.com/devlucky/maporable-api/pull/6"},"issue":{"href":"https://api.github.com/repos/devlucky/maporable-api/issues/6"},"comments":{"href":"https://api.github.com/repos/devlucky/maporable-api/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/devlucky/maporable-api/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/devlucky/maporable-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/devlucky/maporable-api/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/devlucky/maporable-api/statuses/e2ddc4b1357f524786632bb2af6e51543f311ead"}}}}
{"actor":{"display_login":"groyoh"}}