xml

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2025 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// FormatXML represents XML format
	FormatXML decoder.Format = "xml"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type XMLDecoder

type XMLDecoder struct{}

XMLDecoder implements ConfDecoder for XML format

func NewXMLDecoder

func NewXMLDecoder() *XMLDecoder

NewXMLDecoder creates a new XML decoder

func (*XMLDecoder) Unmarshal

func (d *XMLDecoder) Unmarshal(data []byte, v any) error

Unmarshal decodes XML data to target structure

Jump to

Keyboard shortcuts

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