{"action":"closed","issue":{"url":"https://api.github.com/repos/kr/pretty/issues/22","repository_url":"https://api.github.com/repos/kr/pretty","labels_url":"https://api.github.com/repos/kr/pretty/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/kr/pretty/issues/22/comments","events_url":"https://api.github.com/repos/kr/pretty/issues/22/events","html_url":"https://github.com/kr/pretty/issues/22","id":57070919,"number":22,"title":"Newlines would be useful to separate differing fields","user":{"login":"pwaller","id":438648,"avatar_url":"https://avatars.githubusercontent.com/u/438648?v=3","gravatar_id":"","url":"https://api.github.com/users/pwaller","html_url":"https://github.com/pwaller","followers_url":"https://api.github.com/users/pwaller/followers","following_url":"https://api.github.com/users/pwaller/following{/other_user}","gists_url":"https://api.github.com/users/pwaller/gists{/gist_id}","starred_url":"https://api.github.com/users/pwaller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwaller/subscriptions","organizations_url":"https://api.github.com/users/pwaller/orgs","repos_url":"https://api.github.com/users/pwaller/repos","events_url":"https://api.github.com/users/pwaller/events{/privacy}","received_events_url":"https://api.github.com/users/pwaller/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-02-09T18:36:55Z","updated_at":"2016-07-07T21:48:16Z","closed_at":"2016-07-07T21:48:16Z","body":"Input:\r\n\r\n```go\r\nvar thingA = map[int]int{\r\n\t1: 2,\r\n\t2: 3,\r\n\t3: 4,\r\n}\r\n\r\nvar thingB = map[int]int{\r\n\t1: 1,\r\n\t2: 2,\r\n}\r\n\r\npretty.Fdiff(w, thingA, thingB)\r\n```\r\n\r\nOutput:\r\n\r\n```\r\n[3]: \"<int Value>\" != (missing)[2]: 3 != 2[1]: 2 != 1\r\n```\r\n\r\nIn larger maps, this makes the output really unreadable. Would you accept a pull request to put each difference on its own line?"}}
{"actor":{"display_login":"kr"}}