config

package
v0.12.0-rc4 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() *viper.Viper

GetConfig return a viper.Viper

func WriteConfig

func WriteConfig(v *viper.Viper) error

WriteConfig save viper to .env file

func WriteConfigAs

func WriteConfigAs(v *viper.Viper, filename string) error

WriteConfigAs save viper to custom filename

Types

This section is empty.

Jump to

Keyboard shortcuts

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