Versions in this module Expand all Collapse all v0 v0.1.0 Apr 6, 2026 Changes in this version + func NewContext(ctx context.Context, trace *Trace) context.Context + type Span struct + Attrs map[string]string + Children []*Span + Duration time.Duration + End time.Time + Error error + Name string + Start time.Time + func StartSpanFromContext(ctx context.Context, name string) *Span + func (s *Span) Child(name string) *Span + func (s *Span) Finish(err ...error) + func (s *Span) SetAttr(key, value string) + type Trace struct + ID string + Spans []*Span + func FromContext(ctx context.Context) *Trace + func NewTrace(id string) *Trace + func (t *Trace) Format() string + func (t *Trace) StartSpan(name string) *Span