Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Converter ¶
type Converter struct { Name string Config ConverterConfig Methods MethodMapping }
Converter defines a converter that was marked with converterMarker.
type ConverterConfig ¶
type ConverterConfig struct { Name string ExtendMethods []string CaseInsensitive bool IgnoreUnexported bool }
ConverterConfig contains settings that can be set via comments.
type Method ¶
type Method struct { IgnoredFields map[string]struct{} NameMapping map[string]string // target to source IdentityMapping map[string]struct{} }
Method contains settings that can be set via comments.
type MethodMapping ¶
MethodMapping a mapping between method name and method.
Click to show internal directories.
Click to hide internal directories.