-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
README.md: fix install instructions when used with modules #751
Comments
This command doesn't work with module support turned on in the
We need to update the documentation with something that will continue to work after module support is enabled by default. |
okay, thx |
Reopening, because this really is a problem with the documentation. (And thanks for reporting it!) |
I'm not sure how to reproduce this failure. On |
Set |
This issue is blocked on golang/go#24250 since there are limitations to the Go toolchain for what can be done here. |
The fork is pinned at v1.6.5 which is the last release before influxdata/influxdb@f2898d1. The commit is part of the larger effort in influxdata/influxdb#10618 which makes a breaking change. We can't handle this with Go modules because of golang/protobuf#751, which in turn depends on golang/go#24250 which will be fixed with go1.12. Change-Id: I43b643fcab202d94bd529dfce135fb4e3f5add52
On Go1.16, you can install a binary from outside a module with:
|
What version of protobuf and what language are you using?
Version: none yet
What did you do?
I followed the installation instructions telling me to
go get -u github.com/golang/protobuf/protoc-gen-go
What did you expect to see?
Something.
What did you see instead?
go: cannot find main module; see 'go help modules'
Anything else we should know about your project / environment?
Ubuntu with a fresh installation of go
The text was updated successfully, but these errors were encountered: