Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/brimdata/super
/ Pretty
Method
Pretty
pkg/nano/span.go:152–155 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
150
}
151
152
func
(s Span) Pretty() string {
153
d := time.Duration(s.Dur)
154
return
fmt.Sprintf(
"%s+%s"
, s.Ts.Pretty(), d.String())
155
}
Callers
nothing calls this directly
Calls
2
Duration
Method · 0.80
String
Method · 0.65
Tested by
no test coverage detected