It seems godoc doesn't honor much formatting when rendering function comments for Example functions. In particular, it rewraps text that I consider preformatted. For example,
// This is an example: // // foo // bar // baz // // Why does godoc wrap those lines in examples? func ExampleHello() { Hello() } produces: [image: godoc-formatting.png] I used the same text for the Hello function itself in the above to show what formatting I was hoping to see. Is this behavior intentional or an oversight? If the latter, is it something the godoc developers would be willing to fix? Thanks, — Scott -- 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/953f978c-03aa-4361-9bc7-cfe36cf650ecn%40googlegroups.com.