Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryValidateBuilder ¶ added in v0.6.0
type QueryValidateBuilder struct {
// contains filtered or unexported fields
}
QueryValidateBuilder implements the plugin interface and creates validations for collection operation parameters code from .protos
func New ¶ added in v0.6.0
func New(opts protogen.Options, request *pluginpb.CodeGeneratorRequest) (*QueryValidateBuilder, error)
func (*QueryValidateBuilder) Generate ¶ added in v0.6.0
func (p *QueryValidateBuilder) Generate() (*pluginpb.CodeGeneratorResponse, error)
Generate produces the code generated by the plugin for this file, except for the imports, by calling the generator's methods P, In, and Out.
func (*QueryValidateBuilder) Name ¶ added in v0.6.0
func (p *QueryValidateBuilder) Name() string
Name identifies the plugin
Click to show internal directories.
Click to hide internal directories.