-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuf.gen.yaml
More file actions
35 lines (32 loc) · 790 Bytes
/
buf.gen.yaml
File metadata and controls
35 lines (32 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
version: v2
managed:
enabled: true
# override:
# - file_option: go_package_prefix
# module: buf.build/origadmin/runtime
# value: github.com/origadmin/toolkits/runtime/proto/gen/go
# override:
# - file_option: go_package
# value: internal/config/v1;config
# inputs:
# - directory: proto
#
plugins:
- local: protoc-gen-go
out: ./api/gen/go
opt: paths=source_relative
- local: protoc-gen-go-grpc
out: ./api/gen/go
opt: paths=source_relative
- local: protoc-gen-go-http
out: ./api/gen/go
opt: paths=source_relative
- local: protoc-gen-validate
out: ./api/gen/go
opt:
- paths=source_relative
- lang=go
- local: protoc-gen-go-errors
out: ./api/gen/go
opt: paths=source_relative
clean: true