Files
go-zero/core/trace/tracespec/vars.go
mlboy 029fd3ea35 fix: golint: context.WithValue should should not use basic type as key (#83)
* fix: golint: context.WithValue should should not use basic type as key

* optimiz
2020-09-20 12:01:43 +08:00

8 lines
143 B
Go

package tracespec
//ContextKey a type for context key
type ContextKey struct{}
//TracingKey is tracing key for ctx
var TracingKey ContextKey