aboutsummaryrefslogtreecommitdiff
path: root/installer/go_install.sh
blob: b3999693645ad95e0ddbff8aedf1d3ccc4e402c3 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

# Usage
# $ go_install [GO_GET_URLPATH]

set -e

GOPATH=$(pwd) GOBIN=$(pwd) GO111MODULE=on go get -v "$1"
rm -rf src