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
Tests still import nats-streaming-server and break go mod #280
Comments
Yes, tests import the streaming server and that is expected. I am not sure what you are referring to as "the old import". |
It seems that your go.mod is still using old nats-server and nats-streaming-server releases (pre go.mod). Try to update those to the latest. |
Also, note that if you are using Go 1.13, you will have problems with nats and stan repos (since their name ends in .go): golang/go#32483 |
Ok I managed to make it work, by updating the
A new patch release could fix this |
Correct. We are going to release a new version soon that will include nats-io/nats-streaming-server#924. |
Ok thanks |
Closing this issue now. |
The old import can be found here: https://github.com/nats-io/stan.go/blob/master/stan_test.go#L35. This breaks go mod, as the old repository is archived.
The text was updated successfully, but these errors were encountered: