generator

package
v0.0.0-...-0a714ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMultiplyService  = errors.New("files with multiply services aren't supported")
	ErrInvalidPackage   = errors.New("invalid proto package")
	ErrInvalidGoPackage = errors.New("invalid proto go_package")
)

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(module string, unboundMethods *bool) *Generator

func (*Generator) Generate

func (gen *Generator) Generate(p *protogen.Plugin) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL