aboutsummaryrefslogtreecommitdiff
path: root/installer/go_install.sh
blob: be5feffe89e7e39bf97f30d4a2bde714f8cb5860 (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 pkg 2> /dev/null