From ced0fdbad0655d63d535390b1a7126fd1fef8348 Mon Sep 17 00:00:00 2001
From: Jay Conrod 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