-
Notifications
You must be signed in to change notification settings - Fork 698
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
Add note to README on using go get and Go modules #481
Conversation
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.
Some minor comments.
README.md
Outdated
@@ -15,6 +15,17 @@ go get github.com/nats-io/nats.go/ | |||
go get github.com/nats-io/nats-server | |||
``` | |||
|
|||
When using Go modules (`GO111MODULE=on`): |
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.
Go 1.12 makes them on by default I think, so maybe say "When using or transitioning to Go Modules support, ..."
go get github.com/nats-io/nats.go/@v1.8.1 | ||
|
||
# Server | ||
go get github.com/nats-io/nats-server/v2 |
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.
They may need or want the 1.x version so we should show an option for getting that version too, but comment it out and give a comment.
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.
thanks, ok made the updates
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.
LGTM
go get
needs special handling with trailing slashes when using Go modules so adding to the readme (more info at #478)