diff --git a/examples/addsvc/endpoints.go b/examples/addsvc/endpoints.go index b8d6313..1da33e4 100644 --- a/examples/addsvc/endpoints.go +++ b/examples/addsvc/endpoints.go @@ -6,10 +6,9 @@ // formats. It also includes endpoint middlewares. import ( + "context" "fmt" "time" - - "context" "github.com/go-kit/kit/endpoint" "github.com/go-kit/kit/log" diff --git a/examples/addsvc/service.go b/examples/addsvc/service.go index 505ea24..971590c 100644 --- a/examples/addsvc/service.go +++ b/examples/addsvc/service.go @@ -4,10 +4,9 @@ // implementation. It also includes service middlewares. import ( + "context" "errors" "time" - - "context" "github.com/go-kit/kit/log" "github.com/go-kit/kit/metrics" diff --git a/examples/addsvc/transport_grpc.go b/examples/addsvc/transport_grpc.go index 3e6f027..2ed54b7 100644 --- a/examples/addsvc/transport_grpc.go +++ b/examples/addsvc/transport_grpc.go @@ -5,6 +5,7 @@ import ( "context" + stdopentracing "github.com/opentracing/opentracing-go" "github.com/go-kit/kit/examples/addsvc/pb" diff --git a/examples/addsvc/transport_http.go b/examples/addsvc/transport_http.go index 50cec8f..2452fda 100644 --- a/examples/addsvc/transport_http.go +++ b/examples/addsvc/transport_http.go @@ -5,12 +5,12 @@ import ( "bytes" + "context" "encoding/json" "errors" "io/ioutil" "net/http" - "context" stdopentracing "github.com/opentracing/opentracing-go" "github.com/go-kit/kit/log"