{"action":"created","comment":{"url":"https://api.github.com/repos/giantswarm/microkit/pulls/comments/96630704","pull_request_review_id":17216930,"id":96630704,"diff_hunk":"@@ -49,7 +49,7 @@ func StructToMap(s interface{}) (map[string]interface{}, error) {\n \t}\n \n \tvar m map[string]interface{}\n-\terr = json.Unmarshal(b, m)\n+\terr = json.Unmarshal(b, &m)","path":"validator/unknown_attribute.go","position":5,"original_position":5,"commit_id":"ac00bdd563f947e60650f47dba9dc405e7827742","original_commit_id":"ac00bdd563f947e60650f47dba9dc405e7827742","user":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars.githubusercontent.com/u/552769?v=3","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"body":"`json.Unmarshal` panics when there is no pointer given.\r\n\r\n```\r\njson: Unmarshal(non-pointer map[string]interface {})\r\n```","created_at":"2017-01-18T13:12:56Z","updated_at":"2017-01-18T13:12:56Z","html_url":"https://github.com/giantswarm/microkit/pull/38#discussion_r96630704","pull_request_url":"https://api.github.com/repos/giantswarm/microkit/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/giantswarm/microkit/pulls/comments/96630704"},"html":{"href":"https://github.com/giantswarm/microkit/pull/38#discussion_r96630704"},"pull_request":{"href":"https://api.github.com/repos/giantswarm/microkit/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/giantswarm/microkit/pulls/38","id":102062617,"html_url":"https://github.com/giantswarm/microkit/pull/38","diff_url":"https://github.com/giantswarm/microkit/pull/38.diff","patch_url":"https://github.com/giantswarm/microkit/pull/38.patch","issue_url":"https://api.github.com/repos/giantswarm/microkit/issues/38","number":38,"state":"open","locked":false,"title":"fix StructToMap panic","user":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars.githubusercontent.com/u/552769?v=3","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-01-18T13:12:06Z","updated_at":"2017-01-18T13:12:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb85d86e1ff943998c944e273820f7da5085ea1a","assignee":{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars.githubusercontent.com/u/552769?v=3","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false},"assignees":[{"login":"xh3b4sd","id":552769,"avatar_url":"https://avatars.githubusercontent.com/u/552769?v=3","gravatar_id":"","url":"https://api.github.com/users/xh3b4sd","html_url":"https://github.com/xh3b4sd","followers_url":"https://api.github.com/users/xh3b4sd/followers","following_url":"https://api.github.com/users/xh3b4sd/following{/other_user}","gists_url":"https://api.github.com/users/xh3b4sd/gists{/gist_id}","starred_url":"https://api.github.com/users/xh3b4sd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xh3b4sd/subscriptions","organizations_url":"https://api.github.com/users/xh3b4sd/orgs","repos_url":"https://api.github.com/users/xh3b4sd/repos","events_url":"https://api.github.com/users/xh3b4sd/events{/privacy}","received_events_url":"https://api.github.com/users/xh3b4sd/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/giantswarm/microkit/pulls/38/commits","review_comments_url":"https://api.github.com/repos/giantswarm/microkit/pulls/38/comments","review_comment_url":"https://api.github.com/repos/giantswarm/microkit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/giantswarm/microkit/issues/38/comments","statuses_url":"https://api.github.com/repos/giantswarm/microkit/statuses/ac00bdd563f947e60650f47dba9dc405e7827742","head":{"label":"giantswarm:test","ref":"test","sha":"ac00bdd563f947e60650f47dba9dc405e7827742","user":{"login":"giantswarm","id":7556340,"avatar_url":"https://avatars.githubusercontent.com/u/7556340?v=3","gravatar_id":"","url":"https://api.github.com/users/giantswarm","html_url":"https://github.com/giantswarm","followers_url":"https://api.github.com/users/giantswarm/followers","following_url":"https://api.github.com/users/giantswarm/following{/other_user}","gists_url":"https://api.github.com/users/giantswarm/gists{/gist_id}","starred_url":"https://api.github.com/users/giantswarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantswarm/subscriptions","organizations_url":"https://api.github.com/users/giantswarm/orgs","repos_url":"https://api.github.com/users/giantswarm/repos","events_url":"https://api.github.com/users/giantswarm/events{/privacy}","received_events_url":"https://api.github.com/users/giantswarm/received_events","type":"Organization","site_admin":false},"repo":{"id":76079364,"name":"microkit","full_name":"giantswarm/microkit","owner":{"login":"giantswarm","id":7556340,"avatar_url":"https://avatars.githubusercontent.com/u/7556340?v=3","gravatar_id":"","url":"https://api.github.com/users/giantswarm","html_url":"https://github.com/giantswarm","followers_url":"https://api.github.com/users/giantswarm/followers","following_url":"https://api.github.com/users/giantswarm/following{/other_user}","gists_url":"https://api.github.com/users/giantswarm/gists{/gist_id}","starred_url":"https://api.github.com/users/giantswarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantswarm/subscriptions","organizations_url":"https://api.github.com/users/giantswarm/orgs","repos_url":"https://api.github.com/users/giantswarm/repos","events_url":"https://api.github.com/users/giantswarm/events{/privacy}","received_events_url":"https://api.github.com/users/giantswarm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/giantswarm/microkit","description":"The microkit package implements an opinionated microservice framework which can be used as library in golang microservices to speed up development.","fork":false,"url":"https://api.github.com/repos/giantswarm/microkit","forks_url":"https://api.github.com/repos/giantswarm/microkit/forks","keys_url":"https://api.github.com/repos/giantswarm/microkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giantswarm/microkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giantswarm/microkit/teams","hooks_url":"https://api.github.com/repos/giantswarm/microkit/hooks","issue_events_url":"https://api.github.com/repos/giantswarm/microkit/issues/events{/number}","events_url":"https://api.github.com/repos/giantswarm/microkit/events","assignees_url":"https://api.github.com/repos/giantswarm/microkit/assignees{/user}","branches_url":"https://api.github.com/repos/giantswarm/microkit/branches{/branch}","tags_url":"https://api.github.com/repos/giantswarm/microkit/tags","blobs_url":"https://api.github.com/repos/giantswarm/microkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giantswarm/microkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giantswarm/microkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/giantswarm/microkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giantswarm/microkit/statuses/{sha}","languages_url":"https://api.github.com/repos/giantswarm/microkit/languages","stargazers_url":"https://api.github.com/repos/giantswarm/microkit/stargazers","contributors_url":"https://api.github.com/repos/giantswarm/microkit/contributors","subscribers_url":"https://api.github.com/repos/giantswarm/microkit/subscribers","subscription_url":"https://api.github.com/repos/giantswarm/microkit/subscription","commits_url":"https://api.github.com/repos/giantswarm/microkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/giantswarm/microkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/giantswarm/microkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/giantswarm/microkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/giantswarm/microkit/contents/{+path}","compare_url":"https://api.github.com/repos/giantswarm/microkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giantswarm/microkit/merges","archive_url":"https://api.github.com/repos/giantswarm/microkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giantswarm/microkit/downloads","issues_url":"https://api.github.com/repos/giantswarm/microkit/issues{/number}","pulls_url":"https://api.github.com/repos/giantswarm/microkit/pulls{/number}","milestones_url":"https://api.github.com/repos/giantswarm/microkit/milestones{/number}","notifications_url":"https://api.github.com/repos/giantswarm/microkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giantswarm/microkit/labels{/name}","releases_url":"https://api.github.com/repos/giantswarm/microkit/releases{/id}","deployments_url":"https://api.github.com/repos/giantswarm/microkit/deployments","created_at":"2016-12-09T23:59:03Z","updated_at":"2016-12-19T17:41:13Z","pushed_at":"2017-01-18T13:12:06Z","git_url":"git://github.com/giantswarm/microkit.git","ssh_url":"git@github.com:giantswarm/microkit.git","clone_url":"https://github.com/giantswarm/microkit.git","svn_url":"https://github.com/giantswarm/microkit","homepage":null,"size":12849,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"giantswarm:master","ref":"master","sha":"2884540713bc516a7d3733dd4a335b016cc9f66b","user":{"login":"giantswarm","id":7556340,"avatar_url":"https://avatars.githubusercontent.com/u/7556340?v=3","gravatar_id":"","url":"https://api.github.com/users/giantswarm","html_url":"https://github.com/giantswarm","followers_url":"https://api.github.com/users/giantswarm/followers","following_url":"https://api.github.com/users/giantswarm/following{/other_user}","gists_url":"https://api.github.com/users/giantswarm/gists{/gist_id}","starred_url":"https://api.github.com/users/giantswarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantswarm/subscriptions","organizations_url":"https://api.github.com/users/giantswarm/orgs","repos_url":"https://api.github.com/users/giantswarm/repos","events_url":"https://api.github.com/users/giantswarm/events{/privacy}","received_events_url":"https://api.github.com/users/giantswarm/received_events","type":"Organization","site_admin":false},"repo":{"id":76079364,"name":"microkit","full_name":"giantswarm/microkit","owner":{"login":"giantswarm","id":7556340,"avatar_url":"https://avatars.githubusercontent.com/u/7556340?v=3","gravatar_id":"","url":"https://api.github.com/users/giantswarm","html_url":"https://github.com/giantswarm","followers_url":"https://api.github.com/users/giantswarm/followers","following_url":"https://api.github.com/users/giantswarm/following{/other_user}","gists_url":"https://api.github.com/users/giantswarm/gists{/gist_id}","starred_url":"https://api.github.com/users/giantswarm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giantswarm/subscriptions","organizations_url":"https://api.github.com/users/giantswarm/orgs","repos_url":"https://api.github.com/users/giantswarm/repos","events_url":"https://api.github.com/users/giantswarm/events{/privacy}","received_events_url":"https://api.github.com/users/giantswarm/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/giantswarm/microkit","description":"The microkit package implements an opinionated microservice framework which can be used as library in golang microservices to speed up development.","fork":false,"url":"https://api.github.com/repos/giantswarm/microkit","forks_url":"https://api.github.com/repos/giantswarm/microkit/forks","keys_url":"https://api.github.com/repos/giantswarm/microkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/giantswarm/microkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/giantswarm/microkit/teams","hooks_url":"https://api.github.com/repos/giantswarm/microkit/hooks","issue_events_url":"https://api.github.com/repos/giantswarm/microkit/issues/events{/number}","events_url":"https://api.github.com/repos/giantswarm/microkit/events","assignees_url":"https://api.github.com/repos/giantswarm/microkit/assignees{/user}","branches_url":"https://api.github.com/repos/giantswarm/microkit/branches{/branch}","tags_url":"https://api.github.com/repos/giantswarm/microkit/tags","blobs_url":"https://api.github.com/repos/giantswarm/microkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/giantswarm/microkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/giantswarm/microkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/giantswarm/microkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/giantswarm/microkit/statuses/{sha}","languages_url":"https://api.github.com/repos/giantswarm/microkit/languages","stargazers_url":"https://api.github.com/repos/giantswarm/microkit/stargazers","contributors_url":"https://api.github.com/repos/giantswarm/microkit/contributors","subscribers_url":"https://api.github.com/repos/giantswarm/microkit/subscribers","subscription_url":"https://api.github.com/repos/giantswarm/microkit/subscription","commits_url":"https://api.github.com/repos/giantswarm/microkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/giantswarm/microkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/giantswarm/microkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/giantswarm/microkit/issues/comments{/number}","contents_url":"https://api.github.com/repos/giantswarm/microkit/contents/{+path}","compare_url":"https://api.github.com/repos/giantswarm/microkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/giantswarm/microkit/merges","archive_url":"https://api.github.com/repos/giantswarm/microkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/giantswarm/microkit/downloads","issues_url":"https://api.github.com/repos/giantswarm/microkit/issues{/number}","pulls_url":"https://api.github.com/repos/giantswarm/microkit/pulls{/number}","milestones_url":"https://api.github.com/repos/giantswarm/microkit/milestones{/number}","notifications_url":"https://api.github.com/repos/giantswarm/microkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/giantswarm/microkit/labels{/name}","releases_url":"https://api.github.com/repos/giantswarm/microkit/releases{/id}","deployments_url":"https://api.github.com/repos/giantswarm/microkit/deployments","created_at":"2016-12-09T23:59:03Z","updated_at":"2016-12-19T17:41:13Z","pushed_at":"2017-01-18T13:12:06Z","git_url":"git://github.com/giantswarm/microkit.git","ssh_url":"git@github.com:giantswarm/microkit.git","clone_url":"https://github.com/giantswarm/microkit.git","svn_url":"https://github.com/giantswarm/microkit","homepage":null,"size":12849,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/giantswarm/microkit/pulls/38"},"html":{"href":"https://github.com/giantswarm/microkit/pull/38"},"issue":{"href":"https://api.github.com/repos/giantswarm/microkit/issues/38"},"comments":{"href":"https://api.github.com/repos/giantswarm/microkit/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/giantswarm/microkit/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/giantswarm/microkit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/giantswarm/microkit/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/giantswarm/microkit/statuses/ac00bdd563f947e60650f47dba9dc405e7827742"}}}}
{"actor":{"display_login":"xh3b4sd"}}