mapstruct

package
v0.0.0-...-e4b44d9 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(out, in any) error

func DecodeWithConfig

func DecodeWithConfig(dc *DecoderConfig, in any) error

Types

type DecoderConfig

type DecoderConfig = mapstructure.DecoderConfig

func NewDecoderConfig

func NewDecoderConfig(out any, opts ...Option) *DecoderConfig

type Option

type Option func(*DecoderConfig)

func WithDefaults

func WithDefaults() Option

func WithTag

func WithTag(name string) Option

Jump to

Keyboard shortcuts

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