MCPcopy
hub / github.com/cortexlabs/cortex / ObjFlat

Function ObjFlat

pkg/lib/strings/stringify.go:359–361  ·  view source on GitHub ↗
(val interface{})

Source from the content-addressed store, hash-verified

357}
358
359func ObjFlat(val interface{}) string {
360 return strIndent(val, "", "", "", `"`)
361}
362
363func ObjFlatNoQuotes(val interface{}) string {
364 return strIndent(val, "", "", "", "")

Callers 1

TestObjFunction · 0.85

Calls 1

strIndentFunction · 0.85

Tested by 1

TestObjFunction · 0.68