Skip to content

Instantly share code, notes, and snippets.

@gonzaloserrano
Created May 17, 2020 10:00
Show Gist options
  • Save gonzaloserrano/0822cc31fe27791acf54b6c11041d59c to your computer and use it in GitHub Desktop.
Save gonzaloserrano/0822cc31fe27791acf54b6c11041d59c to your computer and use it in GitHub Desktop.
gopls update
#! /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