From 86b3d892c457ac2da21b8cbd93968414cf4f108a Mon Sep 17 00:00:00 2001 From: Ilia Beliaev Date: Fri, 22 Apr 2022 12:16:02 +0200 Subject: [PATCH] Newer go version don't support installing binaries with `go get`, `go install` should be used instead. --- README | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README b/README index 65e41410e0..924c8205b3 100644 --- a/README +++ b/README @@ -6,9 +6,14 @@ For background and an overview of the commands, see http://swtch.com/~rsc/regexp/regexp4.html. To install: + - With go version below 1.17: go get github.com/google/codesearch/cmd/... + - With go version 1.17+: + + go install github.com/google/codesearch/cmd/...@latest + Use "go get -u" to update an existing installation. Russ Cox