hilmapstructure

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2017 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WeakDecode

func WeakDecode(m interface{}, rawVal interface{}) error

WeakDecode behaves in the same way as mapstructure.WeakDecode but has a DecodeHook which defeats the backward compatibility mode of mapstructure which WeakDecodes []interface{}{} into an empty map[string]interface{}. This allows us to use WeakDecode (desirable), but not fail on empty lists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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