Documentation
¶
Index ¶
- func Convert(src interface{}, dest interface{}) error
- func Flatten(src map[string]interface{}, prefix string) map[string]interface{}
- func FromMap(src map[string]interface{}, dest interface{}, tagName string) error
- func Merge(dest, src interface{}) error
- func ToMap(src interface{}, tagName string) (map[string]interface{}, error)
- func Unflatten(src map[string]interface{}) map[string]interface{}
- type Mapper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert ¶
func Convert(src interface{}, dest interface{}) error
Convert converts between types using JSON marshaling.
func Merge ¶
func Merge(dest, src interface{}) error
Merge merges source into destination (src overwrites dest).
Types ¶
Click to show internal directories.
Click to hide internal directories.