{"action":"created","issue":{"url":"https://api.github.com/repos/gambol99/go-marathon/issues/138","repository_url":"https://api.github.com/repos/gambol99/go-marathon","labels_url":"https://api.github.com/repos/gambol99/go-marathon/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/gambol99/go-marathon/issues/138/comments","events_url":"https://api.github.com/repos/gambol99/go-marathon/issues/138/events","html_url":"https://github.com/gambol99/go-marathon/pull/138","id":145653366,"number":138,"title":"Depointerize maps and slices","user":{"login":"timoreimann","id":694826,"avatar_url":"https://avatars.githubusercontent.com/u/694826?v=3","gravatar_id":"","url":"https://api.github.com/users/timoreimann","html_url":"https://github.com/timoreimann","followers_url":"https://api.github.com/users/timoreimann/followers","following_url":"https://api.github.com/users/timoreimann/following{/other_user}","gists_url":"https://api.github.com/users/timoreimann/gists{/gist_id}","starred_url":"https://api.github.com/users/timoreimann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timoreimann/subscriptions","organizations_url":"https://api.github.com/users/timoreimann/orgs","repos_url":"https://api.github.com/users/timoreimann/repos","events_url":"https://api.github.com/users/timoreimann/events{/privacy}","received_events_url":"https://api.github.com/users/timoreimann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-04T11:10:57Z","updated_at":"2016-04-04T11:19:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gambol99/go-marathon/pulls/138","html_url":"https://github.com/gambol99/go-marathon/pull/138","diff_url":"https://github.com/gambol99/go-marathon/pull/138.diff","patch_url":"https://github.com/gambol99/go-marathon/pull/138.patch"},"body":"As the zero value for a reference type is nil and becomes empty upon initialization, we do not need to use pointers for maps and structs when it comes to distinguishing omitted and empty JSON values.\r\n    \r\nOther drive-by refactorings include:\r\n    \r\n- Rename `Empty{Label,Env}` to `Empty{labels,Envs}` for consistency reasons.\r\n- Compare length with `==` instead of `<=`.\r\n- Fix in-code typos.\r\n- Minor cosmetics.\r\n\r\nCloses #137."},"comment":{"url":"https://api.github.com/repos/gambol99/go-marathon/issues/comments/205249369","html_url":"https://github.com/gambol99/go-marathon/pull/138#issuecomment-205249369","issue_url":"https://api.github.com/repos/gambol99/go-marathon/issues/138","id":205249369,"user":{"login":"bobrik","id":89186,"avatar_url":"https://avatars.githubusercontent.com/u/89186?v=3","gravatar_id":"","url":"https://api.github.com/users/bobrik","html_url":"https://github.com/bobrik","followers_url":"https://api.github.com/users/bobrik/followers","following_url":"https://api.github.com/users/bobrik/following{/other_user}","gists_url":"https://api.github.com/users/bobrik/gists{/gist_id}","starred_url":"https://api.github.com/users/bobrik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobrik/subscriptions","organizations_url":"https://api.github.com/users/bobrik/orgs","repos_url":"https://api.github.com/users/bobrik/repos","events_url":"https://api.github.com/users/bobrik/events{/privacy}","received_events_url":"https://api.github.com/users/bobrik/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T11:19:33Z","updated_at":"2016-04-04T11:19:33Z","body":"LGTM"}}