Skip to content

vasi-stripe/pb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protocol Buffer utilities

pblint

Installation

go get -u github.com/stackmachine/pb/cmd/protoc-gen-lint

Usage

protoc --lint_out=. helloworld.proto

protodiff

Verify protocol buffer changes are backwards compatible between both binary and JSON serialized representations.

Installation

go get -u github.com/stackmachine/pb/cmd/protodiff

Usage

protoc -o prev example.proto
# Make changes to example.proto
protoc -o head example.proto
protodiff -prev prev -head head

About

Lint protocol buffers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%