From 7e880151b1763ebe608d7c2cadf36b71f184332a Mon Sep 17 00:00:00 2001
From: Ian Lance Taylor
+ This changed use of the go
directive means that if you
+ use Go 1.12 to build a module, thus recording go 1.12
+ in the go.mod
file, you will get an error when
+ attempting to build the same module with Go 1.11 through Go 1.11.3.
+ Go 1.11.4 or later will work fine, as will releases older than Go 1.11.
+ If you must use Go 1.11 through 1.11.3, you can avoid the problem by
+ setting the language version to 1.11, using the Go 1.12 go tool,
+ via go mod edit -go=1.11
.
+
When an import cannot be resolved using the active modules,
the go
command will now try to use the modules mentioned in the
--
2.48.1