From 3e89872e8c616d2b8ac2f304838a7cc1156e3631 Mon Sep 17 00:00:00 2001 From: Karthik Nayak Date: Mon, 18 Oct 2021 01:37:03 +0200 Subject: [PATCH] docs(go): use `go install` instead of `go get` (#5638) Currently the dependencies listed use `go get`, but this is soon to be deprecated. Replace the `go get` commands with `go install` command. --- modules/lang/go/README.org | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/lang/go/README.org b/modules/lang/go/README.org index 95e48751e..e0b7fd946 100644 --- a/modules/lang/go/README.org +++ b/modules/lang/go/README.org @@ -78,14 +78,14 @@ This module requires a valid ~GOPATH~, and the following Go packages: #+BEGIN_SRC sh export GOPATH=~/work/go -go get -u github.com/x-motemen/gore/cmd/gore -go get -u github.com/stamblerre/gocode -go get -u golang.org/x/tools/cmd/godoc -go get -u golang.org/x/tools/cmd/goimports -go get -u golang.org/x/tools/cmd/gorename -go get -u golang.org/x/tools/cmd/guru -go get -u github.com/cweill/gotests/... -go get -u github.com/fatih/gomodifytags +go install github.com/x-motemen/gore/cmd/gore@latest +go install github.com/stamblerre/gocode@latest +go install golang.org/x/tools/cmd/godoc@latest +go install golang.org/x/tools/cmd/goimports@latest +go install golang.org/x/tools/cmd/gorename@latest +go install golang.org/x/tools/cmd/guru@latest +go install github.com/cweill/gotests/gotests@latest +go install github.com/fatih/gomodifytags@latest #+END_SRC + ~golangci-lint~ (optional: for flycheck to integrate golangci-lint results)