I'm working on a tool which is generating a lot of XML data (tens of
gigabytes) with random content.
All the strings inside the XML are fixed length and change on each
iteration so I replaced them with some arrays of bytes.
To make a long story short, everything went well until I tried to output an
empty string through xml.Marshal.
How can I pass an array of bytes representing the empty string to
xml.Marshal and is it possible at all ?
I tried to sum up my problem on the Go Playground at:
http://play.golang.org/p/nhTDAePqHw <http://play.golang.org/p/b3NE8mpMfj>
Any advice on the code is welcome !
Cheers,
Louis.
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.