MCPcopy Create free account
hub / github.com/brimdata/super / String

Method String

pkg/nano/span.go:147–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145}
146
147func (s Span) String() string {
148 d := time.Duration(s.Dur)
149 return fmt.Sprintf("%s+%s", s.Ts.String(), d.String())
150}
151
152func (s Span) Pretty() string {
153 d := time.Duration(s.Dur)

Callers

nothing calls this directly

Calls 2

DurationMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected