lightstep / lightstep-tracer-go

The Lightstep distributed tracing library for Go
https://lightstep.com
MIT License
98 stars 54 forks source link

Refactor function IsMetaSpan to method Span#IsMeta #194

Closed iredelmeier closed 5 years ago

iredelmeier commented 5 years ago

This is a small change that makes things a bit more idiomatic, as well as helps us move away from a grabbag util.go file.

Note: Since IsMetaSpan was public, this is kind of a (small) breaking change. However, spanImpl is private, so I don't think it could actually have been called publicly!