Documentation
¶
Index ¶
- func Build[T any](item T, extraHooks ...mapstructure.DecodeHookFunc) (*mapstructure.Decoder, error)
- func Decode(dst any, src any) error
- func DecodeHookFunc() mapstructure.DecodeHookFunc
- func DecodeWithTemplate(dst any, src any, data any) error
- func GetHooks() []mapstructure.DecodeHookFunc
- func UsingParserOf[T any](from any) (*T, error)
- func UsingParserOfStrict[T any](from any) (T, error)
- type Decodable
- type Parsable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Build ¶
func Build[T any](item T, extraHooks ...mapstructure.DecodeHookFunc) (*mapstructure.Decoder, error)
func DecodeHookFunc ¶
func DecodeHookFunc() mapstructure.DecodeHookFunc
func DecodeWithTemplate ¶ added in v0.1.42
func GetHooks ¶
func GetHooks() []mapstructure.DecodeHookFunc
func UsingParserOf ¶
func UsingParserOfStrict ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.