#!/bin/bash
export GANGWAY_HOME=$GOPATH/src/github.com/heptiolabs/gangway
curDir=$(pwd)
GO111MODULE=on go get github.com/heptiolabs/gangway@v3.1.0
go get -u github.com/golang/dep/cmd/dep
cd $GANGWAY_HOME
dep ensure -vendor-only
tar -czvf vendor.tar.gz vendor/
mv vendor.tar.gz $curDir/vendor.tar.gz
