Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
70
func
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
main
Function · 0.70
processEvents
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected