generator

package
Version: v0.0.0-...-2d4ea1c Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2021 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL