config

package
v0.0.0-...-28c053e Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildConfig

func BuildConfig(filetype string, filepath string, cfg interface{}) error

Loads a configuration using viper and unmarshals it into a variable. Environment variables are expanded into each field.

func LoadEnvVars

func LoadEnvVars(filetype string, filepath string) error

Loads environment variables into the current environment using viper.

Types

This section is empty.

Jump to

Keyboard shortcuts

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