Open pmh1wheel opened 2 years ago
This leaves the struct handling alone in recursiveEncode, which is designed to deal with individual xml.Tokens.
Instead, we just use xml.Encode for top-level structs, and leave the formatting up to the struct tags, which allow for plenty of control
This leaves the struct handling alone in recursiveEncode, which is designed to deal with individual xml.Tokens.
Instead, we just use xml.Encode for top-level structs, and leave the formatting up to the struct tags, which allow for plenty of control