README ¶ XML https://godocs.io/strings#TrimSpace https://stackoverflow.com/questions/21117161/go-how-would-you-pretty-print Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Variables func Indent(dst io.Writer, src io.Reader, prefix, indent string) error type Split func (sep Split) After(s []byte, val any) ([]byte, error) func (sep Split) Before(s []byte, val any) ([]byte, error) Constants ¶ This section is empty. Variables ¶ View Source var ( Err_Not_Found = errors.New("separator not found") Marshal = xml.Marshal MarshalIndent = xml.MarshalIndent Unmarshal = xml.Unmarshal ) Functions ¶ func Indent ¶ func Indent(dst io.Writer, src io.Reader, prefix, indent string) error Types ¶ type Split ¶ type Split []byte func (Split) After ¶ func (sep Split) After(s []byte, val any) ([]byte, error) godocs.io/encoding/asn1#Unmarshal func (Split) Before ¶ func (sep Split) Before(s []byte, val any) ([]byte, error) godocs.io/encoding/asn1#Unmarshal Source Files ¶ View all Source files xml.go Directories ¶ Show internal Expand all Path Synopsis xml-indent Click to show internal directories. Click to hide internal directories.