viper

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeDefaultViper

func InitializeDefaultViper(defaultValues map[string]interface{}, path string) (*v.Viper, error)

InitializeDefaultViper initializes a viper instance with default values and a path to a file If the file does not exist, it will be created with the default values

func NewViper

func NewViper(path string) *v.Viper

func NewViperE

func NewViperE(path string) (*v.Viper, error)

func PersistViper

func PersistViper(v *v.Viper) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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