xml

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(v any) ([]byte, error)

func Name

func Name() string

func Unmarshal

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

Types

type Codec

type Codec struct{}

Codec is a Codec implementation with xml.

func New

func New() Codec

New returns a new Codec

func (Codec) Marshal

func (Codec) Marshal(v any) ([]byte, error)

func (Codec) Name

func (Codec) Name() string

func (Codec) Unmarshal

func (Codec) Unmarshal(data []byte, v any) error

Jump to

Keyboard shortcuts

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