Skip to content

Commit

Permalink
Update imports for NATS (#881)
Browse files Browse the repository at this point in the history
Signed-off-by: Waldemar Quevedo <[email protected]>
  • Loading branch information
wallyqs authored and peterbourgon committed Jun 6, 2019
1 parent e75cc1a commit 13ec75b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/stringsvc4/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
natstransport "github.com/go-kit/kit/transport/nats"
httptransport "github.com/go-kit/kit/transport/http"

"github.com/nats-io/go-nats"
"github.com/nats-io/nats.go"
)

// StringService provides operations on strings.
Expand Down
2 changes: 1 addition & 1 deletion transport/nats/encode_decode.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package nats
import (
"context"

"github.com/nats-io/go-nats"
"github.com/nats-io/nats.go"
)

// DecodeRequestFunc extracts a user-domain request object from a publisher
Expand Down
2 changes: 1 addition & 1 deletion transport/nats/publisher.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"
"encoding/json"
"github.com/go-kit/kit/endpoint"
"github.com/nats-io/go-nats"
"github.com/nats-io/nats.go"
"time"
)

Expand Down
2 changes: 1 addition & 1 deletion transport/nats/publisher_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"time"

natstransport "github.com/go-kit/kit/transport/nats"
"github.com/nats-io/go-nats"
"github.com/nats-io/nats.go"
)

func TestPublisher(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion transport/nats/request_response_funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package nats
import (
"context"

"github.com/nats-io/go-nats"
"github.com/nats-io/nats.go"
)

// RequestFunc may take information from a publisher request and put it into a
Expand Down
2 changes: 1 addition & 1 deletion transport/nats/subscriber.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/go-kit/kit/log"
"github.com/go-kit/kit/transport"

"github.com/nats-io/go-nats"
"github.com/nats-io/nats.go"
)

// Subscriber wraps an endpoint and provides nats.MsgHandler.
Expand Down
4 changes: 2 additions & 2 deletions transport/nats/subscriber_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"testing"
"time"

"github.com/nats-io/gnatsd/server"
"github.com/nats-io/go-nats"
"github.com/nats-io/nats-server/server"
"github.com/nats-io/nats.go"

"github.com/go-kit/kit/endpoint"
natstransport "github.com/go-kit/kit/transport/nats"
Expand Down

0 comments on commit 13ec75b

Please sign in to comment.