Skip to content

Simple example of basic protobuf repo with shared types.

License

Notifications You must be signed in to change notification settings

blokur/protobuf-ptypes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protobuf ptypes

Simple example of a basic protobuf repository made for a Medium article. The goal is to showcase usage of well-known types in the same way Google does.

The Makefile has a single target called protobufs which generates go code using shares types.

Transpiled go source files are stored in the _build folder. Notice how both kennel/index.pb.go and notifier/index.pb.go reference ptypes/index.pb.go and how the package they import reflects the path defined with go_package.

About

Simple example of basic protobuf repo with shared types.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published