feat: add pagination proto.
This commit is contained in:
14
buf.gen.yaml
14
buf.gen.yaml
@@ -1,7 +1,19 @@
|
||||
# 配置protoc生成规则
|
||||
version: v1
|
||||
|
||||
managed:
|
||||
enabled: false
|
||||
enabled: true
|
||||
optimize_for: SPEED
|
||||
|
||||
go_package_prefix:
|
||||
default: github.com/tx7do/kratos-bootstrap/gen/api/go
|
||||
except:
|
||||
- 'buf.build/googleapis/googleapis'
|
||||
- 'buf.build/envoyproxy/protoc-gen-validate'
|
||||
- 'buf.build/kratos/apis'
|
||||
- 'buf.build/gnostic/gnostic'
|
||||
- 'buf.build/gogo/protobuf'
|
||||
|
||||
plugins:
|
||||
# generate go struct code
|
||||
#- plugin: buf.build/protocolbuffers/go
|
||||
|
||||
Reference in New Issue
Block a user