Proposal: Minimize adjacent whitespace changes on struct layout edits. With current gofmt rules slight changes to a struct declaration make for avalanche changes across declaration whitespace due to gofmt trying to layout struct declaration "pretty". Produced changeset size make diffs unreadable if any field identifier or type changes its length.
1. Fix relative indent position of the type of the field, then 2. Let code author hint gofmt where comments should line up. Comment-start hint has a form of a "/<" digraph (slash, less-than) put into the comment that follows the opening brace of the block. https://github.com/golang/go/issues/37299 -- Wojciech S. Czarnecki << ^oo^ >> OHIR-RIPE -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/20200219191658.33dde792%40xmint.