An open API service indexing awesome lists of open source software.

https://github.com/protocol-laboratory/bookkeeper-codec-go


https://github.com/protocol-laboratory/bookkeeper-codec-go

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# bookkeeper-codec-go
```
go get github.com/gogo/protobuf/protoc-gen-gogofast
go get github.com/gogo/protobuf/proto
go get github.com/gogo/protobuf/gogoproto
```

Generate code:

```
cd pb
protoc -I=. -I=$GOPATH/src -I=$GOPATH/src/github.com/gogo/protobuf/protobuf --gogofast_out=. BookkeeperProtocol.proto
protoc -I=. -I=$GOPATH/src -I=$GOPATH/src/github.com/gogo/protobuf/protobuf --gogofast_out=. DataFormats.proto
protoc -I=. -I=$GOPATH/src -I=$GOPATH/src/github.com/gogo/protobuf/protobuf --gogofast_out=. DbLedgerStorageDataFormats.proto
```