The cleanest way to build in this package is to do the following:
- Create an empty directory for your go workspace
➜ mkdir godemo && cd godemo
- Set your GOPATH to this directory
➜ export GOPATH=`pwd`
- Fork the repo if not already done.
https://help.github.com/en/articles/fork-a-repo
- Get the repository using git or 'go get' (examples below)
- Use git to obtain the repository
➜ git clone https://github.com/<username>/common-host-libs.git src/github.com/hpe-storage/common-host-libs
- Use 'go get' to obtain util
➜ go get -d github.com/hpe-storage/common-host-libs/util
- Use git to obtain the repository
- Change your working directory to the root of the repository
➜ cd src/github.com/hpe-storage/common-host-libs
- Build the entire repository to make sure everything compiles and tests
➜ make all