MCPcopy
hub / github.com/spf13/viper / SetConfigType

Function SetConfigType

viper.go:2017–2017  ·  viper.go::SetConfigType

SetConfigType sets the type of the configuration returned by the remote source, e.g. "json".

(in string)

Source from the content-addressed store, hash-verified

2015// SetConfigType sets the type of the configuration returned by the
2016// remote source, e.g. "json".
2017func SetConfigType(in string) { v.SetConfigType(in) }
2018
2019func (v *Viper) SetConfigType(in string) {
2020 if in != "" {

Callers

nothing calls this directly

Calls 1

SetConfigTypeMethod · 0.80

Tested by

no test coverage detected