Skip to content

Instantly share code, notes, and snippets.

@gonzaloserrano
Created November 29, 2019 15:14
Show Gist options
  • Save gonzaloserrano/6e54ac933854c5a1ec30f7f82eba020f to your computer and use it in GitHub Desktop.
Save gonzaloserrano/6e54ac933854c5a1ec30f7f82eba020f to your computer and use it in GitHub Desktop.
update gopls from master
#! /bin/bash
set -e
gopls version
TMP_DIR="$(mktemp -d)"
cd "$TMP_DIR"
git clone git@github.com:golang/tools.git
cd tools/gopls
go install .
gopls version
echo rm -rf "$TMP_DIR"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment