I like gofmt a lot. I'm not as happy with godoc. Apparently the in the 1.19 
release gofmt started reformatting comments to be consistent with godoc. I 
missed this in the release notes (which I may not have read, *mea culpa*).

For a long time this wasn't an issue for me but recently I've had gofmt 
"fix" something that IMHO wasn't broken (and in the process break it for my 
purposes). OK, it's a weird edge case related to specially formatted 
comments that are important to my IDE. So not all that important.

Still, I'd like to be able to turn off comment reformatting. I've looked 
but there doesn't seem to be a gofmt flag to avoid comments being 
reformatted for godoc. Am I missing something?

-- 
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/bfbc0dc6-bbad-4f4c-9515-628b0c5f583fn%40googlegroups.com.

Reply via email to