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

Function castMapStringSliceToMapInterface

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

Source from the content-addressed store, hash-verified

1775}
1776
1777func castMapStringSliceToMapInterface(src map[string][]string) map[string]any {
1778 tgt := map[string]any{}
1779 for k, v := range src {
1780 tgt[k] = v
1781 }
1782 return tgt
1783}
1784
1785func castMapStringToMapInterface(src map[string]string) map[string]any {
1786 tgt := map[string]any{}

Callers 1

AllKeysMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected