End will set the OK status for the span and then end it.
(span trace.Span)
| 192 | |
| 193 | // End will set the OK status for the span and then end it. |
| 194 | func End(span trace.Span) { |
| 195 | endSpan(span, -1, codes.Ok, nil) |
| 196 | } |
| 197 | |
| 198 | // EndWithErrorStatus will set a status for the span and then end it. |
| 199 | func EndWithErrorStatus(span trace.Span, err error) { |
no test coverage detected