configloader

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(shortname string)

*

  • This will look for a .shortnamerc in your app folder
  • or a /etc/shortname/.shortnamerc
  • or a .shortname in the home directory

func SetDefault

func SetDefault(key string, value string)

*

  • Set the defaults, you also can simply use `viper.SetDefault(key, value)`

Types

This section is empty.

Jump to

Keyboard shortcuts

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