Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0, MIT 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) errors.Error

WriteConfig save viper to .env file

func WriteConfigAs

func WriteConfigAs(v *viper.Viper, filename string) errors.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