Documentation ¶
Index ¶
- Constants
- Variables
- func AbsPathify(inPath string) string
- func Exists(path string) bool
- func Get(key string) interface{}
- func GetBool(key string) bool
- func GetInt(key string) int64
- func GetMap(key string) map[string]interface{}
- func GetString(key string) string
- func GetStrings(key string) []string
- func Init(appName string)
- func IsDir(path string) bool
- func IsFile(path string) bool
- func UserHomeDir() string
- func WatchConfig()
Constants ¶
View Source
const CONFIG_NAME = "app.yaml"
Variables ¶
View Source
var HOME = filepath.Join(UserHomeDir(), ".shoppe")
View Source
var Instance *viper.Viper
Functions ¶
func WatchConfig ¶
func WatchConfig()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.