-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
x/website: Getting Started tutorial doesn't work with Go 1.16 #43672
Comments
/cc @dmitshur |
Issue #43430 is related. CC @jayconrod. Based on the discussion there, I suspect we prefer suggesting |
I think at tip we recommend I'll take a look soon after 1.16 release blockers are resolved. |
I just noticed that starting in Go 1.16, https://golang.org/cl/283635 replaced |
Change https://golang.org/cl/288277 mentions this issue: |
In #43672 (comment) Jay
said we should be recommending "go get" now, but the doc was updated to use
"go mod tidy". Should we switch?
… |
|
I've heard the two commands suggested interchangeably at times. I think we should decide what the contexts for recommending This is clearly a new user hunk of documentation. If |
Improve the guidance document to adapt to the Go 1.16. Fixes golang/go#43672 Change-Id: I443540591d032e05dbec951e2a4995f6dbc2bc77 Reviewed-on: https://go-review.googlesource.com/c/website/+/288277 Run-TryBot: Baokun Lee <bk@golangcn.org> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Trust: Baokun Lee <bk@golangcn.org>
The Getting Started tutorial relies on
go run
modifying thego.mod
automatically, which is now deprecated.The tutorial should instruct the user to run
go get
immediately before editing the code orgo mod tidy
after editing the code./cc @stevetraut
The text was updated successfully, but these errors were encountered: