aboutsummaryrefslogtreecommitdiff
path: root/installer/go_install.sh
blob: d29158e2dffb02db9981978e75a73edfd7cab394 (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 -u $1
rm -rf src