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

Function makeMapStringInterface

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

Source from the content-addressed store, hash-verified

318}
319
320func makeMapStringInterface(n int) map[string]any {
321 m := make(map[string]any, n)
322 for i := range n {
323 m[strconv.Itoa(i)] = nil
324 }
325 return m
326}
327
328func testName(v any) string {
329 return fmt.Sprintf("%T", v)

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…