gen

package
v0.0.0-...-c10e6fd Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "0.0.0"

Version of this protoc plugin.

Functions

This section is empty.

Types

type Context

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

func NewContext

func NewContext(flags flag.FlagSet) *Context

func (*Context) Add

func (c *Context) Add(f *protogen.File)

func (*Context) Generate

func (c *Context) Generate(plugin *protogen.Plugin) error

Generate everything.

type Generator

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

func New

func New(flags flag.FlagSet) *Generator

func (*Generator) Generate

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

Jump to

Keyboard shortcuts

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