xml

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncodingXML

type EncodingXML struct {
}

EncodingXML implements the Encoding interface for the XML encoding

func NewEncodingXML

func NewEncodingXML() *EncodingXML

NewEncodingXML creates a new NewEncodingXML instance

func (*EncodingXML) Marshal

func (e *EncodingXML) Marshal(v interface{}) ([]byte, error)

Marshal converts the given value to YAML byte

func (*EncodingXML) Unmarshal

func (e *EncodingXML) Unmarshal(b []byte, v interface{}) error

Unmarshal converts the given YAML byte to value

func (*EncodingXML) UnmarshalToMap

func (e *EncodingXML) UnmarshalToMap(b []byte) (map[string]interface{}, error)

UnmarshalToMap converts the json string to a map

Jump to

Keyboard shortcuts

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