summaryrefslogtreecommitdiff
path: root/go/install_go.sh
diff options
context:
space:
mode:
Diffstat (limited to 'go/install_go.sh')
-rwxr-xr-xgo/install_go.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/go/install_go.sh b/go/install_go.sh
new file mode 100755
index 00000000..0181d77c
--- /dev/null
+++ b/go/install_go.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+GO_VERSION=go1.12.7.linux-amd64
+
+curl -o $GO_VERSION.tar.gz https://dl.google.com/go/$GO_VERSION.tar.gz
+tar -C ./golang -xzf $GO_VERSION.tar.gz