update go's part in full installation guide

This commit is contained in:
Wang Ruochen 2019-02-19 17:03:16 +00:00
parent c25e449f4e
commit c5b5d50056

View File

@ -657,7 +657,14 @@ process.
PATH][add-msbuild-to-path]. PATH][add-msbuild-to-path].
- Go support: install [Go][go-install] and add it to your path. Navigate to - Go support: install [Go][go-install] and add it to your path. Navigate to
`YouCompleteMe/third_party/ycmd/third_party/gocode` and run `go build`. `YouCompleteMe/third_party/ycmd/third_party/go` and in **both**
`src/github.com/mdempsky/gocode` and `src/github.com/rogpeppe/godef` run
GOPATH=$(realpath ../../../..) go build
On Windows, first set `GOPATH` to the absolute path of
`YouCompleteMe/third_party/ycmd/third_party/go` then run `go build` in the two
directories above.
- JavaScript and TypeScript support: install [Node.js and npm][npm-install], - JavaScript and TypeScript support: install [Node.js and npm][npm-install],
navigate to `YouCompleteMe/third_party/ycmd` and run navigate to `YouCompleteMe/third_party/ycmd` and run