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

Function makeMapStringString

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

Source from the content-addressed store, hash-verified

302}
303
304func makeMapStringString(n int) map[string]string {
305 m := make(map[string]string, n)
306 for i := range n {
307 m[strconv.Itoa(i)] = fmt.Sprintf("%d Hello, world!", i)
308 }
309 return m
310}
311
312func makeMapStringStringSlice(n int) map[string][]string {
313 m := make(map[string][]string, 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…