go get -u github.com/hyperledger/sawtooth-sdk-go
From:
sed -i "s|\"protobuf/|\"${repourl}/protobuf/|" "$file"
To:
sed -i "" "s|\"protobuf/|\"${repourl}/protobuf/|" "$file"
brew install zeromq
go get -u \
github.com/btcsuite/btcd/btcec \
github.com/golang/protobuf/proto \
github.com/golang/protobuf/protoc-gen-go \
github.com/golang/mock/gomock \
github.com/golang/mock/mockgen \
github.com/pebbe/zmq4 \
github.com/satori/go.uuid
cd $GOPATH/src/github.com/hyperledger/sawtooth-sdk-go
go generate