MCPcopy Create free account
hub / github.com/segmentio/encoding / makeMapStringStringSlice

Function makeMapStringStringSlice

json/json_test.go:312–318  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

310}
311
312func makeMapStringStringSlice(n int) map[string][]string {
313 m := make(map[string][]string, n)
314 for i := range n {
315 m[strconv.Itoa(i)] = []string{strconv.Itoa(i), "Hello,", "world!"}
316 }
317 return m
318}
319
320func makeMapStringInterface(n int) map[string]any {
321 m := make(map[string]any, n)

Callers 1

json_test.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…