feat: initial buf proto files

This commit is contained in:
Steven
2023-07-31 19:57:31 +08:00
parent 4cc2de8e82
commit 1f9c87b81b
13 changed files with 1198 additions and 18 deletions

24
proto/buf.gen.yaml Normal file
View File

@ -0,0 +1,24 @@
version: v1
managed:
enabled: true
go_package_prefix:
default: github.com/boojack/slash/proto/gen
except:
- buf.build/googleapis/googleapis
plugins:
- plugin: buf.build/protocolbuffers/go:v1.31.0
out: gen
opt:
- paths=source_relative
- plugin: buf.build/grpc/go:v1.3.0
out: gen
opt:
- paths=source_relative
- plugin: buf.build/grpc-ecosystem/gateway:v2.16.1
out: gen
opt:
- paths=source_relative
- plugin: buf.build/community/pseudomuto-doc:v1.5.1
out: gen
opt:
- markdown,README.md,source_relative