code: func FromConfigString(config, configType string) (Provider, error) {
  	v := newViper()
  	m, err := readConfig(metadecoders.FormatFromString(configType), []byte(config))
  	if err != nil {
  		return nil, err
  	}
  
  	v.MergeConfigMap(m)
  
  	return v, nil
  }
docs: // FromConfigString creates a config from the given YAML, JSON or TOML config. This is useful in tests.