You can try: https://godoc.org/github.com/clbanning/mxj#BeautifyXml

On Friday, November 4, 2016 at 3:32:24 PM UTC-6, Tong Sun wrote:
>
> How to beautify a given XML string in GO? 
>
> The xml.MarshalIndent() only apply to a GO structure, not XML strings. 
>
> Thanks
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to