konfa-server/buf.gen.yaml

27 lines
542 B
YAML
Raw Permalink Normal View History

2024-12-23 12:54:51 +00:00
# version: v2
# clean: true
# plugins:
# - local: protoc-gen-go
# out: internal/proto/gen
# opt: paths=source_relative
version: v2
managed:
enabled: true
override:
- file_option: go_package_prefix
value: github.com/royalcat/konfa-server/src/proto
plugins:
- remote: buf.build/grpc/go
out: src/proto
opt:
- paths=source_relative
- require_unimplemented_servers=false
- remote: buf.build/protocolbuffers/go
out: src/proto
opt:
- paths=source_relative
inputs:
- directory: proto