MCPcopy Create free account
hub / github.com/cortexlabs/cortex / Ppj

Function Ppj

pkg/lib/debug/debug.go:47–53  ·  view source on GitHub ↗
(obj interface{})

Source from the content-addressed store, hash-verified

45}
46
47func Ppj(obj interface{}) {
48 b, err := json.MarshalIndent(obj, "", " ")
49 if err != nil {
50 errors.PrintError(err)
51 }
52 fmt.Println(string(b))
53}
54
55func Ppy(obj interface{}) {
56 b, err := yaml.Marshal(obj)

Callers

nothing calls this directly

Calls 1

PrintErrorFunction · 0.92

Tested by

no test coverage detected