{"action":"created","comment":{"url":"https://api.github.com/repos/osdc/hermes/pulls/comments/95073600","pull_request_review_id":15619343,"id":95073600,"diff_hunk":"@@ -4,37 +4,41 @@ import (\n \t\"net/http\"\n \n \t\"github.com/labstack/echo\"\n+\t\"golang.org/x/crypto/bcrypt\"\n+\n \t\"github.com/osdc/hermes/models\"\n \t\"github.com/osdc/hermes/utils\"\n )\n \n func CreateUser(c echo.Context) error {\n-\n \tpayload := utils.ParseJSON(c.Request().Body)\n \n \tname := payload[\"name\"]\n \tenroll := payload[\"enrollment_number\"]\n-\tpassword := payload[\"password\"]","path":"api/user_api.go","position":16,"original_position":16,"commit_id":"4adcbffd48a3a334e5d3f9abf880beac35a69635","original_commit_id":"4adcbffd48a3a334e5d3f9abf880beac35a69635","user":{"login":"yashmehrotra","id":5863972,"avatar_url":"https://avatars.githubusercontent.com/u/5863972?v=3","gravatar_id":"","url":"https://api.github.com/users/yashmehrotra","html_url":"https://github.com/yashmehrotra","followers_url":"https://api.github.com/users/yashmehrotra/followers","following_url":"https://api.github.com/users/yashmehrotra/following{/other_user}","gists_url":"https://api.github.com/users/yashmehrotra/gists{/gist_id}","starred_url":"https://api.github.com/users/yashmehrotra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yashmehrotra/subscriptions","organizations_url":"https://api.github.com/users/yashmehrotra/orgs","repos_url":"https://api.github.com/users/yashmehrotra/repos","events_url":"https://api.github.com/users/yashmehrotra/events{/privacy}","received_events_url":"https://api.github.com/users/yashmehrotra/received_events","type":"User","site_admin":false},"body":"Don't remove this line","created_at":"2017-01-08T07:50:16Z","updated_at":"2017-01-08T07:53:13Z","html_url":"https://github.com/osdc/hermes/pull/12#discussion_r95073600","pull_request_url":"https://api.github.com/repos/osdc/hermes/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/osdc/hermes/pulls/comments/95073600"},"html":{"href":"https://github.com/osdc/hermes/pull/12#discussion_r95073600"},"pull_request":{"href":"https://api.github.com/repos/osdc/hermes/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/osdc/hermes/pulls/12","id":100592926,"html_url":"https://github.com/osdc/hermes/pull/12","diff_url":"https://github.com/osdc/hermes/pull/12.diff","patch_url":"https://github.com/osdc/hermes/pull/12.patch","issue_url":"https://api.github.com/repos/osdc/hermes/issues/12","number":12,"state":"open","locked":false,"title":"Introduce password hashing and fix indentation","user":{"login":"ryzokuken","id":13121330,"avatar_url":"https://avatars.githubusercontent.com/u/13121330?v=3","gravatar_id":"","url":"https://api.github.com/users/ryzokuken","html_url":"https://github.com/ryzokuken","followers_url":"https://api.github.com/users/ryzokuken/followers","following_url":"https://api.github.com/users/ryzokuken/following{/other_user}","gists_url":"https://api.github.com/users/ryzokuken/gists{/gist_id}","starred_url":"https://api.github.com/users/ryzokuken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryzokuken/subscriptions","organizations_url":"https://api.github.com/users/ryzokuken/orgs","repos_url":"https://api.github.com/users/ryzokuken/repos","events_url":"https://api.github.com/users/ryzokuken/events{/privacy}","received_events_url":"https://api.github.com/users/ryzokuken/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-01-08T05:38:05Z","updated_at":"2017-01-08T07:53:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0e168559af7754f7a07c7a1b7358c9f52f7abe61","assignee":{"login":"ryzokuken","id":13121330,"avatar_url":"https://avatars.githubusercontent.com/u/13121330?v=3","gravatar_id":"","url":"https://api.github.com/users/ryzokuken","html_url":"https://github.com/ryzokuken","followers_url":"https://api.github.com/users/ryzokuken/followers","following_url":"https://api.github.com/users/ryzokuken/following{/other_user}","gists_url":"https://api.github.com/users/ryzokuken/gists{/gist_id}","starred_url":"https://api.github.com/users/ryzokuken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryzokuken/subscriptions","organizations_url":"https://api.github.com/users/ryzokuken/orgs","repos_url":"https://api.github.com/users/ryzokuken/repos","events_url":"https://api.github.com/users/ryzokuken/events{/privacy}","received_events_url":"https://api.github.com/users/ryzokuken/received_events","type":"User","site_admin":false},"assignees":[{"login":"ryzokuken","id":13121330,"avatar_url":"https://avatars.githubusercontent.com/u/13121330?v=3","gravatar_id":"","url":"https://api.github.com/users/ryzokuken","html_url":"https://github.com/ryzokuken","followers_url":"https://api.github.com/users/ryzokuken/followers","following_url":"https://api.github.com/users/ryzokuken/following{/other_user}","gists_url":"https://api.github.com/users/ryzokuken/gists{/gist_id}","starred_url":"https://api.github.com/users/ryzokuken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryzokuken/subscriptions","organizations_url":"https://api.github.com/users/ryzokuken/orgs","repos_url":"https://api.github.com/users/ryzokuken/repos","events_url":"https://api.github.com/users/ryzokuken/events{/privacy}","received_events_url":"https://api.github.com/users/ryzokuken/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/osdc/hermes/milestones/1","html_url":"https://github.com/osdc/hermes/milestone/1","labels_url":"https://api.github.com/repos/osdc/hermes/milestones/1/labels","id":2222353,"number":1,"title":"Initial Release","description":null,"creator":{"login":"ryzokuken","id":13121330,"avatar_url":"https://avatars.githubusercontent.com/u/13121330?v=3","gravatar_id":"","url":"https://api.github.com/users/ryzokuken","html_url":"https://github.com/ryzokuken","followers_url":"https://api.github.com/users/ryzokuken/followers","following_url":"https://api.github.com/users/ryzokuken/following{/other_user}","gists_url":"https://api.github.com/users/ryzokuken/gists{/gist_id}","starred_url":"https://api.github.com/users/ryzokuken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryzokuken/subscriptions","organizations_url":"https://api.github.com/users/ryzokuken/orgs","repos_url":"https://api.github.com/users/ryzokuken/repos","events_url":"https://api.github.com/users/ryzokuken/events{/privacy}","received_events_url":"https://api.github.com/users/ryzokuken/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2017-01-01T10:52:24Z","updated_at":"2017-01-08T07:14:38Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/osdc/hermes/pulls/12/commits","review_comments_url":"https://api.github.com/repos/osdc/hermes/pulls/12/comments","review_comment_url":"https://api.github.com/repos/osdc/hermes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/osdc/hermes/issues/12/comments","statuses_url":"https://api.github.com/repos/osdc/hermes/statuses/4adcbffd48a3a334e5d3f9abf880beac35a69635","head":{"label":"osdc:bcrypt","ref":"bcrypt","sha":"4adcbffd48a3a334e5d3f9abf880beac35a69635","user":{"login":"osdc","id":919383,"avatar_url":"https://avatars.githubusercontent.com/u/919383?v=3","gravatar_id":"","url":"https://api.github.com/users/osdc","html_url":"https://github.com/osdc","followers_url":"https://api.github.com/users/osdc/followers","following_url":"https://api.github.com/users/osdc/following{/other_user}","gists_url":"https://api.github.com/users/osdc/gists{/gist_id}","starred_url":"https://api.github.com/users/osdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osdc/subscriptions","organizations_url":"https://api.github.com/users/osdc/orgs","repos_url":"https://api.github.com/users/osdc/repos","events_url":"https://api.github.com/users/osdc/events{/privacy}","received_events_url":"https://api.github.com/users/osdc/received_events","type":"Organization","site_admin":false},"repo":{"id":69790445,"name":"hermes","full_name":"osdc/hermes","owner":{"login":"osdc","id":919383,"avatar_url":"https://avatars.githubusercontent.com/u/919383?v=3","gravatar_id":"","url":"https://api.github.com/users/osdc","html_url":"https://github.com/osdc","followers_url":"https://api.github.com/users/osdc/followers","following_url":"https://api.github.com/users/osdc/following{/other_user}","gists_url":"https://api.github.com/users/osdc/gists{/gist_id}","starred_url":"https://api.github.com/users/osdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osdc/subscriptions","organizations_url":"https://api.github.com/users/osdc/orgs","repos_url":"https://api.github.com/users/osdc/repos","events_url":"https://api.github.com/users/osdc/events{/privacy}","received_events_url":"https://api.github.com/users/osdc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osdc/hermes","description":null,"fork":false,"url":"https://api.github.com/repos/osdc/hermes","forks_url":"https://api.github.com/repos/osdc/hermes/forks","keys_url":"https://api.github.com/repos/osdc/hermes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osdc/hermes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osdc/hermes/teams","hooks_url":"https://api.github.com/repos/osdc/hermes/hooks","issue_events_url":"https://api.github.com/repos/osdc/hermes/issues/events{/number}","events_url":"https://api.github.com/repos/osdc/hermes/events","assignees_url":"https://api.github.com/repos/osdc/hermes/assignees{/user}","branches_url":"https://api.github.com/repos/osdc/hermes/branches{/branch}","tags_url":"https://api.github.com/repos/osdc/hermes/tags","blobs_url":"https://api.github.com/repos/osdc/hermes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osdc/hermes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osdc/hermes/git/refs{/sha}","trees_url":"https://api.github.com/repos/osdc/hermes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osdc/hermes/statuses/{sha}","languages_url":"https://api.github.com/repos/osdc/hermes/languages","stargazers_url":"https://api.github.com/repos/osdc/hermes/stargazers","contributors_url":"https://api.github.com/repos/osdc/hermes/contributors","subscribers_url":"https://api.github.com/repos/osdc/hermes/subscribers","subscription_url":"https://api.github.com/repos/osdc/hermes/subscription","commits_url":"https://api.github.com/repos/osdc/hermes/commits{/sha}","git_commits_url":"https://api.github.com/repos/osdc/hermes/git/commits{/sha}","comments_url":"https://api.github.com/repos/osdc/hermes/comments{/number}","issue_comment_url":"https://api.github.com/repos/osdc/hermes/issues/comments{/number}","contents_url":"https://api.github.com/repos/osdc/hermes/contents/{+path}","compare_url":"https://api.github.com/repos/osdc/hermes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osdc/hermes/merges","archive_url":"https://api.github.com/repos/osdc/hermes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osdc/hermes/downloads","issues_url":"https://api.github.com/repos/osdc/hermes/issues{/number}","pulls_url":"https://api.github.com/repos/osdc/hermes/pulls{/number}","milestones_url":"https://api.github.com/repos/osdc/hermes/milestones{/number}","notifications_url":"https://api.github.com/repos/osdc/hermes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osdc/hermes/labels{/name}","releases_url":"https://api.github.com/repos/osdc/hermes/releases{/id}","deployments_url":"https://api.github.com/repos/osdc/hermes/deployments","created_at":"2016-10-02T10:05:02Z","updated_at":"2017-01-07T16:26:55Z","pushed_at":"2017-01-08T07:11:56Z","git_url":"git://github.com/osdc/hermes.git","ssh_url":"git@github.com:osdc/hermes.git","clone_url":"https://github.com/osdc/hermes.git","svn_url":"https://github.com/osdc/hermes","homepage":null,"size":118,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":2,"default_branch":"master"}},"base":{"label":"osdc:master","ref":"master","sha":"865390f2a41f1e4f37b56410142c6c95663099d9","user":{"login":"osdc","id":919383,"avatar_url":"https://avatars.githubusercontent.com/u/919383?v=3","gravatar_id":"","url":"https://api.github.com/users/osdc","html_url":"https://github.com/osdc","followers_url":"https://api.github.com/users/osdc/followers","following_url":"https://api.github.com/users/osdc/following{/other_user}","gists_url":"https://api.github.com/users/osdc/gists{/gist_id}","starred_url":"https://api.github.com/users/osdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osdc/subscriptions","organizations_url":"https://api.github.com/users/osdc/orgs","repos_url":"https://api.github.com/users/osdc/repos","events_url":"https://api.github.com/users/osdc/events{/privacy}","received_events_url":"https://api.github.com/users/osdc/received_events","type":"Organization","site_admin":false},"repo":{"id":69790445,"name":"hermes","full_name":"osdc/hermes","owner":{"login":"osdc","id":919383,"avatar_url":"https://avatars.githubusercontent.com/u/919383?v=3","gravatar_id":"","url":"https://api.github.com/users/osdc","html_url":"https://github.com/osdc","followers_url":"https://api.github.com/users/osdc/followers","following_url":"https://api.github.com/users/osdc/following{/other_user}","gists_url":"https://api.github.com/users/osdc/gists{/gist_id}","starred_url":"https://api.github.com/users/osdc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/osdc/subscriptions","organizations_url":"https://api.github.com/users/osdc/orgs","repos_url":"https://api.github.com/users/osdc/repos","events_url":"https://api.github.com/users/osdc/events{/privacy}","received_events_url":"https://api.github.com/users/osdc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/osdc/hermes","description":null,"fork":false,"url":"https://api.github.com/repos/osdc/hermes","forks_url":"https://api.github.com/repos/osdc/hermes/forks","keys_url":"https://api.github.com/repos/osdc/hermes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/osdc/hermes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/osdc/hermes/teams","hooks_url":"https://api.github.com/repos/osdc/hermes/hooks","issue_events_url":"https://api.github.com/repos/osdc/hermes/issues/events{/number}","events_url":"https://api.github.com/repos/osdc/hermes/events","assignees_url":"https://api.github.com/repos/osdc/hermes/assignees{/user}","branches_url":"https://api.github.com/repos/osdc/hermes/branches{/branch}","tags_url":"https://api.github.com/repos/osdc/hermes/tags","blobs_url":"https://api.github.com/repos/osdc/hermes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/osdc/hermes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/osdc/hermes/git/refs{/sha}","trees_url":"https://api.github.com/repos/osdc/hermes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/osdc/hermes/statuses/{sha}","languages_url":"https://api.github.com/repos/osdc/hermes/languages","stargazers_url":"https://api.github.com/repos/osdc/hermes/stargazers","contributors_url":"https://api.github.com/repos/osdc/hermes/contributors","subscribers_url":"https://api.github.com/repos/osdc/hermes/subscribers","subscription_url":"https://api.github.com/repos/osdc/hermes/subscription","commits_url":"https://api.github.com/repos/osdc/hermes/commits{/sha}","git_commits_url":"https://api.github.com/repos/osdc/hermes/git/commits{/sha}","comments_url":"https://api.github.com/repos/osdc/hermes/comments{/number}","issue_comment_url":"https://api.github.com/repos/osdc/hermes/issues/comments{/number}","contents_url":"https://api.github.com/repos/osdc/hermes/contents/{+path}","compare_url":"https://api.github.com/repos/osdc/hermes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/osdc/hermes/merges","archive_url":"https://api.github.com/repos/osdc/hermes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/osdc/hermes/downloads","issues_url":"https://api.github.com/repos/osdc/hermes/issues{/number}","pulls_url":"https://api.github.com/repos/osdc/hermes/pulls{/number}","milestones_url":"https://api.github.com/repos/osdc/hermes/milestones{/number}","notifications_url":"https://api.github.com/repos/osdc/hermes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/osdc/hermes/labels{/name}","releases_url":"https://api.github.com/repos/osdc/hermes/releases{/id}","deployments_url":"https://api.github.com/repos/osdc/hermes/deployments","created_at":"2016-10-02T10:05:02Z","updated_at":"2017-01-07T16:26:55Z","pushed_at":"2017-01-08T07:11:56Z","git_url":"git://github.com/osdc/hermes.git","ssh_url":"git@github.com:osdc/hermes.git","clone_url":"https://github.com/osdc/hermes.git","svn_url":"https://github.com/osdc/hermes","homepage":null,"size":118,"stargazers_count":2,"watchers_count":2,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":7,"forks":5,"open_issues":7,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/osdc/hermes/pulls/12"},"html":{"href":"https://github.com/osdc/hermes/pull/12"},"issue":{"href":"https://api.github.com/repos/osdc/hermes/issues/12"},"comments":{"href":"https://api.github.com/repos/osdc/hermes/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/osdc/hermes/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/osdc/hermes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/osdc/hermes/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/osdc/hermes/statuses/4adcbffd48a3a334e5d3f9abf880beac35a69635"}}}}
{"actor":{"display_login":"yashmehrotra"}}