Versions in this module Expand all Collapse all v0 v0.0.1 Apr 21, 2026 Changes in this version + func ContextWithTimer(ctx context.Context, t *Timer) context.Context + func MarkFrom(ctx context.Context, name string) + type Stage struct + Cost time.Duration + From string + To string + type Timer struct + func NewTimer() *Timer + func TimerFrom(ctx context.Context) *Timer + func (t *Timer) Mark(name string) + func (t *Timer) Stages() []Stage + func (t *Timer) StagesFrom(name string) []Stage + func (t *Timer) Summary() string + func (t *Timer) Total() time.Duration