use contextType as string type
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
package tracespec
|
package tracespec
|
||||||
|
|
||||||
//ContextKey a type for context key
|
// contextKey a type for context key
|
||||||
type ContextKey struct{}
|
type contextKey string
|
||||||
|
|
||||||
//TracingKey is tracing key for ctx
|
// TracingKey is tracing key for context
|
||||||
var TracingKey ContextKey
|
var TracingKey = contextKey("X-Trace")
|
||||||
|
|||||||
Reference in New Issue
Block a user