mkdir -p $GOPATH/src/github.com/serverless
cd $GOPATH/src/github.com/serverless
git clone [email protected]:serverless/event-gateway.git
cd event-gateway
Install dep
package manager
On macOS you can install or upgrade to the latest released version with Homebrew:
$ brew install dep
$ brew upgrade dep
Or you can install via go get
:
go get -u github.com/golang/dep/cmd/dep
go get -u github.com/hashicorp/go-plugin
go get -u github.com/hashicorp/go-hclog
go get -u golang.org/x/net/{context,http2,trace}
dep ensure
go run cmd/event-gateway/main.go -dev