{"action":"created","comment":{"url":"https://api.github.com/repos/nnev/kasse/pulls/comments/33898853","id":33898853,"diff_hunk":"@@ -65,9 +65,56 @@ func (k *Kasse) PostLoginPage(res http.ResponseWriter, req *http.Request) {\n \thttp.Redirect(res, req, redirect, http.StatusFound)\n }\n \n+func (k *Kasse) GetDashboard(res http.ResponseWriter, req *http.Request) {\n+\tsession, err := k.sessions.Get(req, \"nnev-kasse\")\n+\tif err != nil {","path":"http.go","position":6,"original_position":6,"commit_id":"dd4d95d547f92373009030b409659234778cea53","original_commit_id":"dd4d95d547f92373009030b409659234778cea53","user":{"login":"Merovius","id":720787,"avatar_url":"https://avatars.githubusercontent.com/u/720787?v=3","gravatar_id":"","url":"https://api.github.com/users/Merovius","html_url":"https://github.com/Merovius","followers_url":"https://api.github.com/users/Merovius/followers","following_url":"https://api.github.com/users/Merovius/following{/other_user}","gists_url":"https://api.github.com/users/Merovius/gists{/gist_id}","starred_url":"https://api.github.com/users/Merovius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merovius/subscriptions","organizations_url":"https://api.github.com/users/Merovius/orgs","repos_url":"https://api.github.com/users/Merovius/repos","events_url":"https://api.github.com/users/Merovius/events{/privacy}","received_events_url":"https://api.github.com/users/Merovius/received_events","type":"User","site_admin":false},"body":"Die einzigen Fehler, die auftreten können, sind glaube ich, dass das Cookie kaputt ist. login sollte dann ein neues, heiles cookie setzen.","created_at":"2015-07-05T21:06:29Z","updated_at":"2015-07-05T21:06:29Z","html_url":"https://github.com/nnev/kasse/pull/18#discussion_r33898853","pull_request_url":"https://api.github.com/repos/nnev/kasse/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/nnev/kasse/pulls/comments/33898853"},"html":{"href":"https://github.com/nnev/kasse/pull/18#discussion_r33898853"},"pull_request":{"href":"https://api.github.com/repos/nnev/kasse/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/nnev/kasse/pulls/18","id":39224320,"html_url":"https://github.com/nnev/kasse/pull/18","diff_url":"https://github.com/nnev/kasse/pull/18.diff","patch_url":"https://github.com/nnev/kasse/pull/18.patch","issue_url":"https://api.github.com/repos/nnev/kasse/issues/18","number":18,"state":"open","locked":false,"title":"Add simple dashboard","user":{"login":"Merovius","id":720787,"avatar_url":"https://avatars.githubusercontent.com/u/720787?v=3","gravatar_id":"","url":"https://api.github.com/users/Merovius","html_url":"https://github.com/Merovius","followers_url":"https://api.github.com/users/Merovius/followers","following_url":"https://api.github.com/users/Merovius/following{/other_user}","gists_url":"https://api.github.com/users/Merovius/gists{/gist_id}","starred_url":"https://api.github.com/users/Merovius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Merovius/subscriptions","organizations_url":"https://api.github.com/users/Merovius/orgs","repos_url":"https://api.github.com/users/Merovius/repos","events_url":"https://api.github.com/users/Merovius/events{/privacy}","received_events_url":"https://api.github.com/users/Merovius/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-05T17:57:37Z","updated_at":"2015-07-05T21:06:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c466328dbfd521d7f4478f91746e84147705f1bc","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nnev/kasse/pulls/18/commits","review_comments_url":"https://api.github.com/repos/nnev/kasse/pulls/18/comments","review_comment_url":"https://api.github.com/repos/nnev/kasse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nnev/kasse/issues/18/comments","statuses_url":"https://api.github.com/repos/nnev/kasse/statuses/dd4d95d547f92373009030b409659234778cea53","head":{"label":"nnev:dash","ref":"dash","sha":"dd4d95d547f92373009030b409659234778cea53","user":{"login":"nnev","id":6986936,"avatar_url":"https://avatars.githubusercontent.com/u/6986936?v=3","gravatar_id":"","url":"https://api.github.com/users/nnev","html_url":"https://github.com/nnev","followers_url":"https://api.github.com/users/nnev/followers","following_url":"https://api.github.com/users/nnev/following{/other_user}","gists_url":"https://api.github.com/users/nnev/gists{/gist_id}","starred_url":"https://api.github.com/users/nnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnev/subscriptions","organizations_url":"https://api.github.com/users/nnev/orgs","repos_url":"https://api.github.com/users/nnev/repos","events_url":"https://api.github.com/users/nnev/events{/privacy}","received_events_url":"https://api.github.com/users/nnev/received_events","type":"Organization","site_admin":false},"repo":{"id":33357818,"name":"kasse","full_name":"nnev/kasse","owner":{"login":"nnev","id":6986936,"avatar_url":"https://avatars.githubusercontent.com/u/6986936?v=3","gravatar_id":"","url":"https://api.github.com/users/nnev","html_url":"https://github.com/nnev","followers_url":"https://api.github.com/users/nnev/followers","following_url":"https://api.github.com/users/nnev/following{/other_user}","gists_url":"https://api.github.com/users/nnev/gists{/gist_id}","starred_url":"https://api.github.com/users/nnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnev/subscriptions","organizations_url":"https://api.github.com/users/nnev/orgs","repos_url":"https://api.github.com/users/nnev/repos","events_url":"https://api.github.com/users/nnev/events{/privacy}","received_events_url":"https://api.github.com/users/nnev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nnev/kasse","description":"NFC Getränkekasse","fork":false,"url":"https://api.github.com/repos/nnev/kasse","forks_url":"https://api.github.com/repos/nnev/kasse/forks","keys_url":"https://api.github.com/repos/nnev/kasse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nnev/kasse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nnev/kasse/teams","hooks_url":"https://api.github.com/repos/nnev/kasse/hooks","issue_events_url":"https://api.github.com/repos/nnev/kasse/issues/events{/number}","events_url":"https://api.github.com/repos/nnev/kasse/events","assignees_url":"https://api.github.com/repos/nnev/kasse/assignees{/user}","branches_url":"https://api.github.com/repos/nnev/kasse/branches{/branch}","tags_url":"https://api.github.com/repos/nnev/kasse/tags","blobs_url":"https://api.github.com/repos/nnev/kasse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nnev/kasse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nnev/kasse/git/refs{/sha}","trees_url":"https://api.github.com/repos/nnev/kasse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nnev/kasse/statuses/{sha}","languages_url":"https://api.github.com/repos/nnev/kasse/languages","stargazers_url":"https://api.github.com/repos/nnev/kasse/stargazers","contributors_url":"https://api.github.com/repos/nnev/kasse/contributors","subscribers_url":"https://api.github.com/repos/nnev/kasse/subscribers","subscription_url":"https://api.github.com/repos/nnev/kasse/subscription","commits_url":"https://api.github.com/repos/nnev/kasse/commits{/sha}","git_commits_url":"https://api.github.com/repos/nnev/kasse/git/commits{/sha}","comments_url":"https://api.github.com/repos/nnev/kasse/comments{/number}","issue_comment_url":"https://api.github.com/repos/nnev/kasse/issues/comments{/number}","contents_url":"https://api.github.com/repos/nnev/kasse/contents/{+path}","compare_url":"https://api.github.com/repos/nnev/kasse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nnev/kasse/merges","archive_url":"https://api.github.com/repos/nnev/kasse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nnev/kasse/downloads","issues_url":"https://api.github.com/repos/nnev/kasse/issues{/number}","pulls_url":"https://api.github.com/repos/nnev/kasse/pulls{/number}","milestones_url":"https://api.github.com/repos/nnev/kasse/milestones{/number}","notifications_url":"https://api.github.com/repos/nnev/kasse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nnev/kasse/labels{/name}","releases_url":"https://api.github.com/repos/nnev/kasse/releases{/id}","created_at":"2015-04-03T10:01:58Z","updated_at":"2015-04-17T20:09:18Z","pushed_at":"2015-07-05T21:01:51Z","git_url":"git://github.com/nnev/kasse.git","ssh_url":"git@github.com:nnev/kasse.git","clone_url":"https://github.com/nnev/kasse.git","svn_url":"https://github.com/nnev/kasse","homepage":null,"size":284,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"nnev:master","ref":"master","sha":"b32c7007f959b7b74af702b5e73d3be1987ff69e","user":{"login":"nnev","id":6986936,"avatar_url":"https://avatars.githubusercontent.com/u/6986936?v=3","gravatar_id":"","url":"https://api.github.com/users/nnev","html_url":"https://github.com/nnev","followers_url":"https://api.github.com/users/nnev/followers","following_url":"https://api.github.com/users/nnev/following{/other_user}","gists_url":"https://api.github.com/users/nnev/gists{/gist_id}","starred_url":"https://api.github.com/users/nnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnev/subscriptions","organizations_url":"https://api.github.com/users/nnev/orgs","repos_url":"https://api.github.com/users/nnev/repos","events_url":"https://api.github.com/users/nnev/events{/privacy}","received_events_url":"https://api.github.com/users/nnev/received_events","type":"Organization","site_admin":false},"repo":{"id":33357818,"name":"kasse","full_name":"nnev/kasse","owner":{"login":"nnev","id":6986936,"avatar_url":"https://avatars.githubusercontent.com/u/6986936?v=3","gravatar_id":"","url":"https://api.github.com/users/nnev","html_url":"https://github.com/nnev","followers_url":"https://api.github.com/users/nnev/followers","following_url":"https://api.github.com/users/nnev/following{/other_user}","gists_url":"https://api.github.com/users/nnev/gists{/gist_id}","starred_url":"https://api.github.com/users/nnev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nnev/subscriptions","organizations_url":"https://api.github.com/users/nnev/orgs","repos_url":"https://api.github.com/users/nnev/repos","events_url":"https://api.github.com/users/nnev/events{/privacy}","received_events_url":"https://api.github.com/users/nnev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nnev/kasse","description":"NFC Getränkekasse","fork":false,"url":"https://api.github.com/repos/nnev/kasse","forks_url":"https://api.github.com/repos/nnev/kasse/forks","keys_url":"https://api.github.com/repos/nnev/kasse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nnev/kasse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nnev/kasse/teams","hooks_url":"https://api.github.com/repos/nnev/kasse/hooks","issue_events_url":"https://api.github.com/repos/nnev/kasse/issues/events{/number}","events_url":"https://api.github.com/repos/nnev/kasse/events","assignees_url":"https://api.github.com/repos/nnev/kasse/assignees{/user}","branches_url":"https://api.github.com/repos/nnev/kasse/branches{/branch}","tags_url":"https://api.github.com/repos/nnev/kasse/tags","blobs_url":"https://api.github.com/repos/nnev/kasse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nnev/kasse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nnev/kasse/git/refs{/sha}","trees_url":"https://api.github.com/repos/nnev/kasse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nnev/kasse/statuses/{sha}","languages_url":"https://api.github.com/repos/nnev/kasse/languages","stargazers_url":"https://api.github.com/repos/nnev/kasse/stargazers","contributors_url":"https://api.github.com/repos/nnev/kasse/contributors","subscribers_url":"https://api.github.com/repos/nnev/kasse/subscribers","subscription_url":"https://api.github.com/repos/nnev/kasse/subscription","commits_url":"https://api.github.com/repos/nnev/kasse/commits{/sha}","git_commits_url":"https://api.github.com/repos/nnev/kasse/git/commits{/sha}","comments_url":"https://api.github.com/repos/nnev/kasse/comments{/number}","issue_comment_url":"https://api.github.com/repos/nnev/kasse/issues/comments{/number}","contents_url":"https://api.github.com/repos/nnev/kasse/contents/{+path}","compare_url":"https://api.github.com/repos/nnev/kasse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nnev/kasse/merges","archive_url":"https://api.github.com/repos/nnev/kasse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nnev/kasse/downloads","issues_url":"https://api.github.com/repos/nnev/kasse/issues{/number}","pulls_url":"https://api.github.com/repos/nnev/kasse/pulls{/number}","milestones_url":"https://api.github.com/repos/nnev/kasse/milestones{/number}","notifications_url":"https://api.github.com/repos/nnev/kasse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nnev/kasse/labels{/name}","releases_url":"https://api.github.com/repos/nnev/kasse/releases{/id}","created_at":"2015-04-03T10:01:58Z","updated_at":"2015-04-17T20:09:18Z","pushed_at":"2015-07-05T21:01:51Z","git_url":"git://github.com/nnev/kasse.git","ssh_url":"git@github.com:nnev/kasse.git","clone_url":"https://github.com/nnev/kasse.git","svn_url":"https://github.com/nnev/kasse","homepage":null,"size":284,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nnev/kasse/pulls/18"},"html":{"href":"https://github.com/nnev/kasse/pull/18"},"issue":{"href":"https://api.github.com/repos/nnev/kasse/issues/18"},"comments":{"href":"https://api.github.com/repos/nnev/kasse/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/nnev/kasse/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/nnev/kasse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nnev/kasse/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/nnev/kasse/statuses/dd4d95d547f92373009030b409659234778cea53"}}}}