Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brimdata/super
/ FormatValue
Function
FormatValue
sup/formatter.go:79–81 ·
view source on GitHub ↗
(val super.Value)
Source
from the content-addressed store, hash-verified
77
}
78
79
func
FormatValue(val super.Value) string {
80
return
NewFormatter(0, true, nil).Format(val)
81
}
82
83
func
String(p any) string {
84
if
typ, ok := p.(super.Type); ok {
Callers
15
typeDecl
Method · 0.92
expr
Method · 0.92
NewLiteral
Function · 0.92
valueToExpr
Function · 0.92
TestMarshalBSUP
Function · 0.92
TestMarshalSlice
Function · 0.92
TestIPType
Function · 0.92
TestUnmarshalRecord
Function · 0.92
TestMarshalInterface
Function · 0.92
TestMarshalArray
Function · 0.92
TestNumbers
Function · 0.92
TestCustomRecord
Function · 0.92
Calls
2
NewFormatter
Function · 0.85
Format
Method · 0.45
Tested by
15
TestMarshalBSUP
Function · 0.74
TestMarshalSlice
Function · 0.74
TestIPType
Function · 0.74
TestUnmarshalRecord
Function · 0.74
TestMarshalInterface
Function · 0.74
TestMarshalArray
Function · 0.74
TestNumbers
Function · 0.74
TestCustomRecord
Function · 0.74
TestSuperValues
Function · 0.74
TestBytes
Function · 0.74
TestMixedTypeArrayInsideRecord
Function · 0.74
TestMixedTypeArrayOfStructWithInterface
Function · 0.74