From 341d86d5bc6191a2a0e7ded7600c244483cb0b25 Mon Sep 17 00:00:00 2001 From: Sean Liao Date: Sun, 11 Apr 2021 14:43:02 +0200 Subject: [PATCH] go1.16 --- Modules.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Modules.md b/Modules.md index 5fd06814..20fc7d25 100644 --- a/Modules.md +++ b/Modules.md @@ -10,6 +10,15 @@ Since [Go 1.14](https://golang.org/doc/go1.14), module support is considered rea ## Recent Changes +### Go 1.16 + +See the [Go 11.6 release notes](https://golang.org/doc/go1.16#go-command) for details. + +* Module mode (`GO111MODULE=on`) is the default in all cases +* Commands no longer modify `go.mod` / `go.sum` by default (`-mod=readonly`) +* `go install pkg@version` is the recommended way to globally install packages / executables +* `retract` is available in `go.mod` + ### Go 1.15 See the [Go 1.15 release notes](https://golang.org/doc/go1.15#go-command) for details.