expandstruct

package module
v0.0.0-...-ecc5433 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: MIT Imports: 3 Imported by: 0

README

expandstruct

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Expand

func Expand(m map[string]interface{}, s interface{}) error

ExpandToStruct expands the fieldPath value pairs in the map m into the given nested struct s. FieldPaths have to be a dot separated string of field names, as used when accessing the struct in go.

Types

This section is empty.

Jump to

Keyboard shortcuts

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