libopenstorage is written in the Go programming language. If you haven't set up a Go development environment, please follow these instructions to install golang
and set up GOPATH.
- Install swagger
go get -u github.com/go-swagger/go-swagger/cmd/swagger
- Install Golang mock
go get -u github.com/golang/mock/gomock
go get -u github.com/golang/mock/mockgen
The install also requires jq
so depending on your distro you'll have to install that too.