{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/9983","labels_url":"https://api.github.com/repos/golang/go/issues/9983/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/9983/comments","events_url":"https://api.github.com/repos/golang/go/issues/9983/events","html_url":"https://github.com/golang/go/issues/9983","id":58775304,"number":9983,"title":"cmd/gofmt: add strongly simplify flag","user":{"login":"josharian","id":67496,"avatar_url":"https://avatars.githubusercontent.com/u/67496?v=3","gravatar_id":"","url":"https://api.github.com/users/josharian","html_url":"https://github.com/josharian","followers_url":"https://api.github.com/users/josharian/followers","following_url":"https://api.github.com/users/josharian/following{/other_user}","gists_url":"https://api.github.com/users/josharian/gists{/gist_id}","starred_url":"https://api.github.com/users/josharian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josharian/subscriptions","organizations_url":"https://api.github.com/users/josharian/orgs","repos_url":"https://api.github.com/users/josharian/repos","events_url":"https://api.github.com/users/josharian/events{/privacy}","received_events_url":"https://api.github.com/users/josharian/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-24T17:48:04Z","updated_at":"2015-04-10T03:44:39Z","closed_at":"2015-04-10T03:44:39Z","body":"@griesemer wrote in #9966:\r\n\r\n> I have long advocated a -ss mode (\"strong simplify\") which could do things like this (and more); and which wouldn't be restricted as much as \"-s\".\r\n\r\nOne thing -ss could do is remove the select from selects with only a single case (or default). Again, see #9966.\r\n\r\nThis issue is for discussion about whether gofmt should have a -ss flag and possibly also to collect ideas for what -ss might do over and above -s.\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/91419404","html_url":"https://github.com/golang/go/issues/9983#issuecomment-91419404","issue_url":"https://api.github.com/repos/golang/go/issues/9983","id":91419404,"user":{"login":"rsc","id":104030,"avatar_url":"https://avatars.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"created_at":"2015-04-10T03:44:39Z","updated_at":"2015-04-10T03:44:39Z","body":"Make a separate tool. Let's not keep piling things into gofmt just because it happens to read and write Go files.\n\nI'd be happy if you want to put this in grind."}}