parser

package
v0.2.5-alpha Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiParser

type MultiParser struct {
	Fun UnmarshalFunc
}

func (*MultiParser) UnmarshalJSON

func (mp *MultiParser) UnmarshalJSON(bs []byte) error

func (*MultiParser) UnmarshalXML

func (mp *MultiParser) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

func (*MultiParser) UnmarshalYAML

func (mp *MultiParser) UnmarshalYAML(un func(interface{}) error) (err error)

type UnmarshalFunc

type UnmarshalFunc func(Unmarshaler) error

type Unmarshaler

type Unmarshaler interface {
	Unmarshal(value interface{}) error
}

type UnmarshalerJSON

type UnmarshalerJSON struct {
	Bs []byte
}

func (*UnmarshalerJSON) Unmarshal

func (u *UnmarshalerJSON) Unmarshal(value interface{}) error

type UnmarshalerXML

type UnmarshalerXML struct {
	D     *xml.Decoder
	Start xml.StartElement
}

func (*UnmarshalerXML) Unmarshal

func (u *UnmarshalerXML) Unmarshal(value interface{}) error

type UnmarshalerYAML

type UnmarshalerYAML struct {
	UN func(interface{}) error
}

func (*UnmarshalerYAML) Unmarshal

func (u *UnmarshalerYAML) Unmarshal(value interface{}) error

Jump to

Keyboard shortcuts

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