Help us shape the future of Go! Take the 2026 Go Developer Survey

hilmapstructure

package
v0.9.10 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 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