Versions in this module Expand all Collapse all v2 v2.5.1 Oct 1, 2020 v2.5.0 Oct 1, 2020 Changes in this version + func MustRegisterImplFileNameTemplate(tmpl string) + func MustRegisterImplTypeNameTemplate(tmpl string) + type Generator struct + func New(reg *descriptor.Registry, opts ...Option) *Generator + func (g *Generator) Generate(targets []*descriptor.File) ([]*plugin.CodeGeneratorResponse_File, error) + type Option func(*options) + func ApplyDefaultMiddlewares(apply bool) Option + func DescPath(path string) Option + func Force(force bool) Option + func Impl(impl bool) Option + func ImplPath(path string) Option + func ServiceSubDir(subDir bool) Option + func SwaggerDef(swaggerDef map[string][]byte) Option + func SwaggerPath(swaggerPath string) Option + func WithTests(needTests bool) Option