From 051ae87704a7cfd18e5f365f03a4fc8340e35aa6 Mon Sep 17 00:00:00 2001 From: Karel Bilek Date: Mon, 3 Apr 2023 16:46:40 +0200 Subject: [PATCH] Add a note about go install path@version to tools.go --- Modules.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules.md b/Modules.md index e0c00e02..c705b9f1 100644 --- a/Modules.md +++ b/Modules.md @@ -709,6 +709,8 @@ The brief rationale (also from [#25922](https://github.com/golang/go/issues/2592 > > It simply reuses existing ones. +You can also (since go 1.16) use `go install tool@version`, which will install a specific version, or (since go 1.17) `go run tool@version`, which will run the tool without installing, as implemented in [#42088](https://github.com/golang/go/issues/42088) and [#40276](https://github.com/golang/go/issues/40276), which can eliminate the need for tools.go. + ### What is the status of module support in IDEs, editors and standard tools like goimports, gorename, etc? Support for modules is starting to land in editors and IDEs.