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

Function GetString

viper.go:790–790  ·  viper.go::GetString

GetString returns the value associated with the key as a string.

(key string)

Source from the content-addressed store, hash-verified

788
789// GetString returns the value associated with the key as a string.
790func GetString(key string) string { return v.GetString(key) }
791
792func (v *Viper) GetString(key string) string {
793 return cast.ToString(v.Get(key))

Callers

nothing calls this directly

Calls 1

GetStringMethod · 0.80

Tested by

no test coverage detected