bufar

command module
v0.0.0-...-0c544af Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
gen

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL