Skip to content

CSC354/protobufs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protobuf Files

This repository accommodates all the protobufs for all services. You probably need to include it and tag a version of it (#TODO) in your project.

KEEP CONSISTENCY

Naming is important, each directory should be named with the exact NAME_ID of the serivce it holds. This eas readability and code generation, for example, when gurantee all the names are corresponding for their services, a Makefile can be used to generate protc files:

#!/usr/bin/env sh

result=${PWD##*/}

protoc --go_out=. --go_opt=paths=import    \
    --go-grpc_out=. --go-grpc_opt=paths=import \
    protobufs/$result/*

About

Protocol buffers for all the services.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published