MCPcopy Create free account
hub / github.com/aws-samples/aws-lambda-extensions / prettyPrint

Function prettyPrint

go-example-extension/main.go:70–76  ·  view source on GitHub ↗
(v interface{})

Source from the content-addressed store, hash-verified

68}
69
70func prettyPrint(v interface{}) string {
71 data, err := json.MarshalIndent(v, "", "\t")
72 if err != nil {
73 return ""
74 }
75 return string(data)
76}

Callers 2

mainFunction · 0.70
processEventsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected