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

Function castMapStringToMapInterface

viper.go:1785–1791  ·  view source on GitHub ↗
(src map[string]string)

Source from the content-addressed store, hash-verified

1783}
1784
1785func castMapStringToMapInterface(src map[string]string) map[string]any {
1786 tgt := map[string]any{}
1787 for k, v := range src {
1788 tgt[k] = v
1789 }
1790 return tgt
1791}
1792
1793func castMapFlagToMapInterface(src map[string]FlagValue) map[string]any {
1794 tgt := map[string]any{}

Callers 3

findMethod · 0.85
AllKeysMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected