| 1 | # What buf generate makes from our .proto files, and where it puts it. |
| 2 | version: v2 |
| 3 | # Delete gen/ first, so the code of a removed .proto file goes too. |
| 4 | clean: true |
| 5 | managed: |
| 6 | enabled: true |
| 7 | override: |
| 8 | - file_option: go_package_prefix |
| 9 | value: github.com/fiston-user/payments/gen |
| 10 | plugins: |
| 11 | - local: protoc-gen-go |
| 12 | out: gen |
| 13 | opt: paths=source_relative |
| 14 | - local: protoc-gen-go-grpc |
| 15 | out: gen |
| 16 | opt: paths=source_relative |