-
Notifications
You must be signed in to change notification settings - Fork 13
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
'go get' installation process fails - is deprecated in go #238
Comments
Thanks for sharing your experience! This is helpful. Ok so go mod init github.com/therealbentrunbull/my-project Then in the directory where you ran go get github.com/edgedb/edgedb-go Which adds it as a dependency to your module. I'll add something to the docs about this. |
* Mention that go get should be run in a g module fixes #238 * update wording Co-authored-by: Colin McDonnell <[email protected]>
That's great! Thanks! |
Running the installation command
go get github.com/edgedb/edgedb-go
on a clean system does not work.It produces the following error:
go version
produces the following:go version go1.18.4 darwin/arm64
Googling says the following:
Starting in Go 1.17, installing executables with go get is deprecated. go install may be used instead. In Go 1.18, go get will no longer build packages; it will only be used to add, update, or remove dependencies in go. mod . Specifically, go get will always act as if the -d flag were enabled.
I might be missing something, but I can't get go install to work with the obvious solutions.
Can the documentation please be updated to help people new to Go?
The text was updated successfully, but these errors were encountered: