MCPcopy Create free account
hub / github.com/goadesign/goa / mapQueryDecodeData

Function mapQueryDecodeData

http/codegen/server.go:277–285  ·  view source on GitHub ↗
(dt expr.DataType, varName string, inc int)

Source from the content-addressed store, hash-verified

275}
276
277func mapQueryDecodeData(dt expr.DataType, varName string, inc int) map[string]any {
278 return map[string]any{
279 "Type": dt,
280 "VarName": varName,
281 "Loop": string(rune(97 + inc)),
282 "Increment": inc + 1,
283 "Depth": codegen.MapDepth(expr.AsMap(dt)),
284 }
285}

Callers

nothing calls this directly

Calls 2

MapDepthFunction · 0.92
AsMapFunction · 0.92

Tested by

no test coverage detected