viper

package
v0.0.80 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetViper added in v0.0.22

func GetViper(configFile string, subKeys string) *viper.Viper

keys delim with dot(.), eg: "database.mysql"

func UnmarshalProtoMessageWithJsonPb

func UnmarshalProtoMessageWithJsonPb(v *viper.Viper, msg proto.Message, options ...viper.DecoderConfigOption) error

func UnmarshalProtoMessageWithJsonpbHookFunc

func UnmarshalProtoMessageWithJsonpbHookFunc(v proto.Message) mapstructure.DecodeHookFunc

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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