inital commit

This commit is contained in:
2024-12-12 15:55:37 +03:00
commit 13c18e116a
17 changed files with 858 additions and 0 deletions

12
helpers.go Normal file
View File

@@ -0,0 +1,12 @@
package main
import (
"context"
"go.opentelemetry.io/otel/trace"
)
func FollowSpan(ctx context.Context, name string) (_ context.Context, span trace.Span) {
ctx, span = tracer.Start(ctx, name)
return ctx, span
}