viperutil

package
v0.0.0-...-fbe82ab Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

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

decode用于解码配置中的不透明字段

func EnhancedExactUnmarshal

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

EnhancedExecutionMarshal旨在将配置文件解组为结构 引入外来变量时产生误差及支持 时间。持续时间类型

func EnhancedExactUnmarshalKey

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

EnhancedExecutionMarshalKey用于将配置文件子目录解组为结构

Types

This section is empty.

Jump to

Keyboard shortcuts

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