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

Update imports for NATS #881

Merged
merged 1 commit into from
Jun 6, 2019
Merged

Conversation

wallyqs
Copy link
Contributor

@wallyqs wallyqs commented Jun 6, 2019

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 [email protected]

Signed-off-by: Waldemar Quevedo <[email protected]>
@peterbourgon peterbourgon merged commit 13ec75b into go-kit:master Jun 6, 2019
@wallyqs wallyqs deleted the nats-imports branch June 8, 2019 16:32
Copy link

@derekcollison derekcollison left a 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"

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.

@peterbourgon
Copy link
Member

@wallyqs You wanna try updating re: above?

@wallyqs
Copy link
Contributor Author

wallyqs commented Jun 10, 2019

@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 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.

@derekcollison
Copy link

derekcollison commented Jun 10, 2019 via email

jamesgist pushed a commit to jamesgist/kit that referenced this pull request Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants