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

viperutil

package
v1.4.12 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode added in v1.4.0

func Decode(input interface{}, output interface{}) error

Decode is used to decode opaque field in configuration

func EnhancedExactUnmarshal

func EnhancedExactUnmarshal(v *viper.Viper, output interface{}) error

EnhancedExactUnmarshal is intended to unmarshal a config file into a structure producing error when extraneous variables are introduced and supporting the time.Duration type

func EnhancedExactUnmarshalKey

func EnhancedExactUnmarshalKey(baseKey string, output interface{}) error

EnhancedExactUnmarshalKey is intended to unmarshal a config file subtreee into a structure

Types

This section is empty.

Jump to

Keyboard shortcuts

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