Skip to content

Instantly share code, notes, and snippets.

View alexcrownus's full-sized avatar

Alex Adeyemo alexcrownus

  • London, United Kingdom
View GitHub Profile
#!/bin/bash
set -e
GVERSION="1.7.1"
GFILE="go$GVERSION.linux-amd64.tar.gz"
GOPATH="$HOME/gocode"
GOROOT="/usr/local/go"
if [ -d $GOROOT ]; then
echo "Installation directories already exist $GOROOT"