Skip to content

Commit

Permalink
run goimports (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmlb authored and pglombardo committed May 9, 2019
1 parent 9854c6e commit 0430c4a
Show file tree
Hide file tree
Showing 17 changed files with 21 additions and 21 deletions.
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

0 comments on commit 0430c4a

Please sign in to comment.