viper

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustLoadConfig

func MustLoadConfig(envPrefix string, configPath *string, configurations interface{}) *viper.Viper

MustLoadConfig load configurations from yml viper file All services should provide a configuration file along with its docker images. And all configurations inside the viper file can be over write by corresponding environment variable It’s important to recognize that Viper treats ENV variables as case-sensitive.

Types

This section is empty.

Jump to

Keyboard shortcuts

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