xml_tools

package
v1.3.8-beta7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2025 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func XmlDumps

func XmlDumps(v interface{}, opts ...XmlDumpOptions) []byte

func XmlEscape

func XmlEscape(s []byte) string

func XmlLoads

func XmlLoads(v interface{}) map[string]any

func XmlLoadsOmap

func XmlLoadsOmap(v interface{}) (*orderedmap.OrderedMap, error)

func XmlPrettify

func XmlPrettify(b []byte) string

Types

type XmlDumpConfig

type XmlDumpConfig struct {
	// contains filtered or unexported fields
}

func NewXmlDumpConfig

func NewXmlDumpConfig() *XmlDumpConfig

type XmlDumpOptions

type XmlDumpOptions func(*XmlDumpConfig)

func WithHTMLEscape

func WithHTMLEscape(escape bool) XmlDumpOptions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL