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