Skip to content

Instantly share code, notes, and snippets.

@ssandeep
ssandeep / go-install.sh
Last active September 12, 2023 23:55
Go Installer
#!/bin/bash
set -e
VERSION="1.17"
[ -z "$GOROOT" ] && GOROOT="$HOME/.go"
[ -z "$GOPATH" ] && GOPATH="$HOME/go"
OS="$(uname -s)"
ARCH="$(uname -m)"