Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
set -e
GVERSION="1.11.2"
GFILE="go$GVERSION.linux-amd64.tar.gz"
GOPATH="$HOME/go"
GOROOT="/usr/local/go"
if [ -d $GOROOT ]; then
echo "Installation directories already exist $GOROOT"