remove all opentracing leftovers
This commit is contained in:
Родитель
c5bb54ed88
Коммит
32a4fbca9e
1
go.mod
1
go.mod
|
@ -7,7 +7,6 @@ require (
|
|||
github.com/Azure/go-autorest v12.0.0+incompatible
|
||||
github.com/joho/godotenv v1.3.0
|
||||
github.com/mitchellh/mapstructure v1.1.2
|
||||
github.com/opentracing/opentracing-go v1.0.2
|
||||
github.com/stretchr/objx v0.1.1 // indirect
|
||||
github.com/stretchr/testify v1.2.2
|
||||
go.opencensus.io v0.21.0
|
||||
|
|
|
@ -3,8 +3,8 @@ package servicebus_test
|
|||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/Azure/azure-service-bus-go"
|
||||
"github.com/opentracing/opentracing-go/log"
|
||||
)
|
||||
|
||||
func ExampleMessageIterator() {
|
||||
|
@ -16,7 +16,8 @@ func ExampleMessageIterator() {
|
|||
for !subject.Done() {
|
||||
cursor, err := subject.Next(context.Background())
|
||||
if err != nil {
|
||||
log.Error(err)
|
||||
fmt.Println(err)
|
||||
return
|
||||
}
|
||||
fmt.Println(string(cursor.Data))
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче