config

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureConfigPath added in v0.2.5

func EnsureConfigPath() (string, error)

EnsureConfigPath works out the config path, then creates the directory to make sure that it exists

func IsValidKey added in v0.2.5

func IsValidKey(key string) bool

func Setup

func Setup(v *viper.Viper) error

func SetupConfigFile added in v0.2.5

func SetupConfigFile(v *viper.Viper, configPath string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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