My OCD dictates I do the same, but then my LSP starts screaming, crying, vomiting at me for not optimising field ordering for reduced memory padding. 🥺
I prefer this too but my lsp is very picky about efficient field ordering lately. I just try to not make eye contact with it until I take the time to silence that warning code or whatever.
Comments
Not sure if it’s heresy for gofmt, but I’d even put a new line after id and then the rest follows.