-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Update imports for NATS #881
Conversation
Signed-off-by: Waldemar Quevedo <wally@synadia.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be v2 now.
@@ -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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably should be "github.com/nats-io/nats-server/v2/server"
now.
@wallyqs You wanna try updating re: above? |
@peterbourgon I'd like to update, but thought maybe should investigate more or maybe wait for something like this to merge #834 since if there are users not using modules yet and using go-kit then I think the import |
This is transparently supported back to Go 1.9.7 IIRC
…________________________________
From: Waldemar Quevedo <notifications@github.com>
Sent: Monday, June 10, 2019 3:51 PM
To: go-kit/kit
Cc: Derek Collison; Comment
Subject: Re: [go-kit/kit] Update imports for NATS (#881)
@peterbourgon<https://github.com/peterbourgon> I'd like to update, but thought maybe should investigate more or maybe wait for something like this to merge #834<#834> since if there are users not using modules yet and using go-kit then I think the import github.com/nats-server/v2/server may break for them.
I will take a look and try to update, for now since it is only for a pub/sub test the v1 version of the server would work ok since protocol backwards compatible.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#881?email_source=notifications&email_token=AAAV74LBHV5PZXQL3OP3Q6DPZ3LFPA5CNFSM4HU44NO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXLOJJA#issuecomment-500622500>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AAAV74MHV47ABPRBSHRPOJDPZ3LFPANCNFSM4HU44NOQ>.
|
Signed-off-by: Waldemar Quevedo <wally@synadia.com>
Hi, sorry for the inconvenience but the NATS project has recently renamed some of its repos. Most of the time Github redirects would help but in case a project is using Go modules, it can help to have the correct paths in the imports just in case.
Signed-off-by: Waldemar Quevedo wally@synadia.com