diff --git a/doc/go1.17.html b/doc/go1.17.html index c9b64da244..02cd18d037 100644 --- a/doc/go1.17.html +++ b/doc/go1.17.html @@ -214,6 +214,16 @@ Do not send CLs removing the interior tags from such phrases. environment for details.

+

+ go get prints a deprecation warning when installing + commands outside the main module (without the -d flag). + go install cmd@version should be used + instead to install a command at a specific version, using a suffix like + @latest or @v1.2.3. In Go 1.18, the -d + flag will always be enabled, and go get will only + be used to change dependencies in go.mod. +

+

go.mod files missing go directives