config

package
v0.0.0-...-af9c1cf Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(filename, appName string, config interface{}, opts ...viper.DecoderConfigOption) error

Load loads configuration into 'config' variable.

func ValidateConfig

func ValidateConfig(config interface{}) error

ValidateConfig validates configuration based on provided tags. It returns first error it encounters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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