Replace static version in go with defined variable

This commit is contained in:
Arif Herusetyo Wicaksono 2019-01-19 15:25:59 +09:00
parent a62f0edd8c
commit 85c82fd56b

5
go.md
View File

@ -4,8 +4,11 @@ Install go programming language to user .local/bin directory
## Install binary release from repositories
Check [release information](https://golang.org/dl/) for the latest stable version.
```bash
wget -qO go.tar.gz https://dl.google.com/go/go1.11.2.linux-amd64.tar.gz \
VERSION=
wget -qO go.tar.gz "https://dl.google.com/go/go$VERSION.linux-amd64.tar.gz" \
&& tar -C $HOME/.local -xzf go.tar.gz \
&& rm go.tar.gz
```