Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run goimports #67

Merged
merged 1 commit into from
May 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions adapters.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ package instana

import (
"context"
"net/http"
"runtime"

"github.com/felixge/httpsnoop"
ot "github.com/opentracing/opentracing-go"
"github.com/opentracing/opentracing-go/ext"
otlog "github.com/opentracing/opentracing-go/log"
"net/http"
"runtime"
)

type SpanSensitiveFunc func(span ot.Span)
Expand Down
2 changes: 1 addition & 1 deletion eum_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package instana_test
import (
"testing"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
"github.com/stretchr/testify/assert"
)

Expand Down
2 changes: 1 addition & 1 deletion example/event/change/change_event_no_sensor.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"time"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion example/event/change_event/change_event_no_sensor.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"time"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion example/event/default_service/default_service_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"time"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion example/event/host/host_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"time"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion example/event/service/service_event.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"time"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion example/httpclient/multi_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"time"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
ot "github.com/opentracing/opentracing-go"
)

Expand Down
2 changes: 1 addition & 1 deletion example/many.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"time"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
ot "github.com/opentracing/opentracing-go"
ext "github.com/opentracing/opentracing-go/ext"
"github.com/opentracing/opentracing-go/log"
Expand Down
2 changes: 1 addition & 1 deletion example/ot-simple/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"math/rand"
"time"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
ot "github.com/opentracing/opentracing-go"
ext "github.com/opentracing/opentracing-go/ext"
"github.com/opentracing/opentracing-go/log"
Expand Down
2 changes: 1 addition & 1 deletion example/rpc/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"time"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
ot "github.com/opentracing/opentracing-go"
"golang.org/x/net/context"
)
Expand Down
3 changes: 2 additions & 1 deletion example/webserver/instana/http.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package main

import (
"github.com/instana/go-sensor"
"net/http"
"time"

instana "github.com/instana/go-sensor"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion example/webserver/opentracing/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http"
"time"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
ot "github.com/opentracing/opentracing-go"
"github.com/opentracing/opentracing-go/ext"
"golang.org/x/net/context"
Expand Down
2 changes: 1 addition & 1 deletion propagation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
opentracing "github.com/opentracing/opentracing-go"
"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion recorder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package instana_test
import (
"testing"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
ext "github.com/opentracing/opentracing-go/ext"
"github.com/stretchr/testify/assert"
)
Expand Down
5 changes: 2 additions & 3 deletions span_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ import (
"testing"
"time"

"github.com/stretchr/testify/assert"

"github.com/instana/go-sensor"
instana "github.com/instana/go-sensor"
ot "github.com/opentracing/opentracing-go"
ext "github.com/opentracing/opentracing-go/ext"
"github.com/opentracing/opentracing-go/log"
"github.com/stretchr/testify/assert"
)

func TestBasicSpan(t *testing.T) {
Expand Down
3 changes: 1 addition & 2 deletions tracer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ package instana_test
import (
"testing"

instana "github.com/instana/go-sensor"
"github.com/stretchr/testify/assert"

"github.com/instana/go-sensor"
//opentracing "github.com/opentracing/opentracing-go"
)

Expand Down