mkdir -p $GOPATH/src/github.com/mesg-foundation/core
cd $GOPATH/src/github.com/mesg-foundation/core
git clone https://github.com/mesg-foundation/core.git ./
go get -v -t ./...
env DAEMON.IMAGE=mesg/daemon:local go test -cover -v ./...
If you use Visual code you can add the following settings (Preference > Settings)
"go.testEnvFile": "${workspaceRoot}/testenv"
docker build -t mesg-daemon .
xcode-select --install
go get -u github.com/derekparker/delve/cmd/dlv
cd $GOPATH/src/github.com/derekparker/delve
make install