func (t *Tracer) Last() opentracing.Span {
	// return root if empty
	if len(t.spans) == 0 {
		return t.root
	}

	return t.spans[len(t.spans)-1]
}
func (t *Tracer) Last() opentracing.Span {
	
	if len(t.spans) == 0 {
		return t.root
	}

	return t.spans[len(t.spans)-1]
}
func ( t * Tracer ) Last ( ) opentracing . Span { // return root if empty if len ( t . spans ) == 0 { return t . root } return t . spans [ len ( t . spans ) - 1 ] }
// Last returns the last pushed span or the root span.
Last returns the last pushed span or the root span .