hyperledger-archives / sawtooth-sdk-go

https://wiki.hyperledger.org/display/sawtooth
Apache License 2.0
28 stars 40 forks source link

Protos #11

Open paulwizviz opened 6 years ago

paulwizviz commented 6 years ago

I notice that there is a protos folder in this project. Would it be better to just share the one in sawtooth-core? After all the projects can easily access each other via $GOPATH.

This will ensure consistent versioning?

For example:

SRC_DIR=$GOPATH/src/github.com/hyperledger-sawtooth-core/protos DST_DIR=$GOPATH/src/github.com/hyperledger-sawtooth-sdk

protoc -I=$SRC_DIR --go_out=$DST_DIR $SRC_DIR/addressbook.proto