hyperledger-archives / sawtooth-sdk-go

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

Fix unkeyed literals in protobuf initialization #9

Closed dplumb94 closed 6 years ago

dplumb94 commented 6 years ago

The golang/protobuf dependency update on 4/30 forces users to use keyed literals (e.g., foopb.Message{Name: "Golang", Age: 8} as opposed to foopb.Message{"Golang", 8}). There were a few examples of the latter that had to be updated.

https://groups.google.com/forum/#!topic/protobuf/N-elvFu4dFM golang/protobuf#591

Signed-off-by: Darian Plumb dplumb@bitwise.io