Package pbutil provides utilities for protobuf. Please see godoc.
The proto (github.com/goinsane/pbutil/proto) folder provides those proto packages:
- goinsane.pbutil in
goinsane/pbutil/ - google.protobuf (Google's protobuf) in
google/protobuf/
The proto folder can be used directly as include path for protoc.
Proto package goinsane.pbutil in goinsane/pbutil/, provides proto files for pbutil.
Proto package google.protobuf (Google's protobuf) in google/protobuf/ provides proto files of Google's protobuf.
To run any example, please use the command like the following:
cd examples/
go run example1.go
To run all tests, please use the following command:
go test -v
To run all examples, please use the following command:
go test -v -run=^Example
To run all benchmarks, please use the following command:
go test -v -run=^Benchmark -bench=.