Versions in this module Expand all Collapse all v1 v1.0.2 Sep 10, 2026 v1.0.0 Jun 8, 2026 Changes in this version + var ErrNilFunc = span.ErrNilFunc + func Call2[T, U any](ctx context.Context, tracer trace.Tracer, name string, f SpanFunc2[T, U], ...) (T, U, error) + func Call[T any](ctx context.Context, tracer trace.Tracer, name string, f SpanFunc1[T], ...) (T, error) + func Run(ctx context.Context, tracer trace.Tracer, name string, f SpanFunc, ...) error + type PanicError = span.PanicError + type Scope = scope.Scope + func New(name string, opts ...ScopeOption) *Scope + type ScopeOption = scope.Option + func WithMeterProvider(provider metric.MeterProvider) ScopeOption + func WithTracerProvider(provider trace.TracerProvider) ScopeOption + type SpanFunc = span.Func + type SpanFunc1 = span.Func1[T] + type SpanFunc2 = span.Func2[T, U] + type SpanOption = span.Option + func WithAttrs(attrs ...attribute.KeyValue) SpanOption + func WithErrorFilter(filter func(error) bool) SpanOption + func WithRecoverPanics() SpanOption + func WithSpanOptions(opts ...trace.SpanStartOption) SpanOption + func WithoutErrorStatus() SpanOption + func WithoutRecordError() SpanOption