MCPcopy 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
152func (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

DurationMethod · 0.80
StringMethod · 0.65

Tested by

no test coverage detected