From 37cf04d232d3d6be8ee2af09c32f0fb86980be7f Mon Sep 17 00:00:00 2001 From: Elias Daler Date: Wed, 22 Dec 2021 18:19:25 +0300 Subject: [PATCH] Use "go install" instead of "go get" in README.md See: https://go.dev/doc/go-get-install-deprecation It's available since Go 1.16 and running "go get" recommends it in the future. It the change is too new, maybe we can specify that "go get" should be used in older versions and "go install" in newer ones (since they allow you to specify a fixed version as well) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f1de3a6..0155a0d 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ errcheck is a program for checking for unchecked errors in go programs. ## Install - go get -u github.com/kisielk/errcheck + go install github.com/kisielk/errcheck@latest errcheck requires Go 1.12 or newer, and depends on the package go/packages from the golang.org/x/tools repository.