Skip to content

yolocs/bufar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bufar

POC only depends on Docker.

  1. Build the binary

go build .

  1. Create an Artifact Registry (Docker) named as:

us-docker.pkg.dev/[YOUR_PROJECT]/protos

  1. Publish the protos:

./bufar publish --registry=us-docker.pkg.dev/[YOUR_PROJECT]/protos --protos=./protos --package="bufarexample.v1"

This command publishes the protos defined in protos.

  1. Generate the code from the published protos:

First, you need a buf.gen.yaml where you need to call the tool. See the example in the repo.

./bufar generate --registry=us-docker.pkg.dev/gochen/protos --package="burarexample.v1"

Folder gen is generated from the command above.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages