package config import ( "bytes" "fmt" "os" "strings" "github.com/spf13/viper" "github.com/spiral/errors" ) type Viper struct { viper *viper.Viper Path string Prefix string Type string ReadInCfg []byte // user defined Flags in the form of