blob: b75e973de06d6616b55c4708a57434e6303a1bc0 [file] [log] [blame]
# This template generates grpc-go, twirp, and helper client-side packages.
# This is for situations where the client-side is OSS.
version: v1beta1
managed: true
plugins:
- name: go-grpc
out: internal/gen/proto/go
opt:
- paths=source_relative
- require_unimplemented_servers=false
- name: twirp
out: internal/gen/proto/go
opt: paths=source_relative
- name: go-api
out: internal/gen/proto/api
opt:
- paths=source_relative
- named_go_package=api=github.com/bufbuild/buf/internal/gen/proto/api
- name: go-apiclient
out: internal/gen/proto/apiclient
opt:
- paths=source_relative
- named_go_package=api=github.com/bufbuild/buf/internal/gen/proto/api
- named_go_package=apiclient=github.com/bufbuild/buf/internal/gen/proto/apiclient
- name: go-apiclientgrpc
out: internal/gen/proto/apiclientgrpc
opt:
- paths=source_relative
- named_go_package=api=github.com/bufbuild/buf/internal/gen/proto/api
- named_go_package=apiclient=github.com/bufbuild/buf/internal/gen/proto/apiclient
- named_go_package=apiclientgrpc=github.com/bufbuild/buf/internal/gen/proto/apiclientgrpc
- name: go-apiclienttwirp
out: internal/gen/proto/apiclienttwirp
opt:
- paths=source_relative
- named_go_package=api=github.com/bufbuild/buf/internal/gen/proto/api
- named_go_package=apiclient=github.com/bufbuild/buf/internal/gen/proto/apiclient
- named_go_package=apiclienttwirp=github.com/bufbuild/buf/internal/gen/proto/apiclienttwirp