mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 01:30:25 +08:00
f309e9f80c
* fix golint issues in core/utils * fix golint issues in core/trace * fix golint issues in core/trace
9 lines
180 B
Go
9 lines
180 B
Go
package tracespec
|
|
|
|
// SpanContext interface that represents a span context.
|
|
type SpanContext interface {
|
|
TraceId() string
|
|
SpanId() string
|
|
Visit(fn func(key, val string) bool)
|
|
}
|