Using printf to debug

How is one supposed to format the output from printf “%#”? if one just adds that line to a template the resulting string needs some serious formatting to make it readable.

We’re using the Go fmt package for printf. See the verbs in the Go docs. We don’t offer a “pretty print” function.