We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 717fd59 commit 89145a8Copy full SHA for 89145a8
go/core/core.go
@@ -88,13 +88,13 @@ func ExtractTraceparent(ctx context.Context) propagation.MapCarrier {
88
return carrier
89
}
90
91
-type RequestTags interface {
+type RequestTagsProvider interface {
92
Route() string
93
Action() string
94
Framework() string
95
96
97
-func ContextInject(ctx context.Context, h RequestTags) context.Context {
+func ContextInject(ctx context.Context, h RequestTagsProvider) context.Context {
98
ctx = context.WithValue(ctx, Route, h.Route())
99
ctx = context.WithValue(ctx, Action, h.Action())
100
ctx = context.WithValue(ctx, Framework, h.Framework())
0 commit comments