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.
Click to show internal directories.
Click to hide internal directories.