Create .gopath
file for $PATH detection
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
7bb350a996
commit
143327d660
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,9 @@ export GOPATH="${HOME}/gocode"
|
|||
rm -rf ${GOPATH}
|
||||
mkdir -p ${GOPATH}
|
||||
|
||||
# Create `.gopath` file for $PATH detection
|
||||
touch ${GOPATH}/.gopath
|
||||
|
||||
# Re-Install gocode
|
||||
go get -u github.com/nsf/gocode
|
||||
|
||||
|
|
Loading…
Reference in a new issue