We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f1a048 commit 77da8dfCopy full SHA for 77da8df
context.go
@@ -7,9 +7,11 @@ import (
7
"go.uber.org/zap"
8
)
9
10
-type requestIDCtxKey struct{}
11
-type sentryHubCtxKey struct{}
12
-type zapLoggerCtxKey struct{}
+type (
+ requestIDCtxKey struct{}
+ sentryHubCtxKey struct{}
13
+ zapLoggerCtxKey struct{}
14
+)
15
16
func RequestID(ctx context.Context) string {
17
if id, ok := ctx.Value(requestIDCtxKey{}).(string); ok {
0 commit comments