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.
This commit is contained in:
parent
390fd1a7b0
commit
3e89872e8c
1 changed files with 8 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue