package
0.0.0-20240614030048-31f864afca7b
Repository: https://github.com/liwei1dao/lego.git
Documentation: pkg.go.dev

# Functions

Decode takes a map and uses reflection to convert it into the given Go native structure.
DecodePath takes a map and uses reflection to convert it into the given Go native structure.
DecodeSlicePath decodes a slice of maps against a slice of structures that contain specified tags.
NewDecoder returns a new decoder for the given configuration.
NewPathDecoder returns a new decoder for the given configuration.

# Structs

A Decoder takes a raw interface value and turns it into structured data, keeping track of rich error information along the way in case anything goes wrong.
DecoderConfig is the configuration that is used to create a new decoder and allows customization of various aspects of decoding.
CodeError implements the error interface and can represents multiple errors that occur in the course of a single decode.
Metadata contains information about decoding a structure that is tedious or difficult to get otherwise.

# Type aliases

No description provided by the author