Create your workspace:
export GOPATH=$HOME/go
mkdir -p $GOPATH/src/github.com
cd $GOPATH/src/github.com
git clone [email protected]:matt-simons/dlp.git
cd dlp
Finally run go get -u
, this command may take a while as it's doing a git clone
of all dependencies into $GOPATH/src
.
Now you can run the example via one of the following:
go run *.go
: compiles and runsgo build
: creates a binary in local dirgo install
: create a binary in $GOPATH/bin