Back to

Package gen

Latest Go to latest

The latest major version is .

Published: Jan 20, 2020 | License: MIT | Module:


func Error

func Error(err error, msgs ...string)

Error log and exit

func Fail

func Fail(msgs ...string)

Fail log and exit

func FilesToGenerate

func FilesToGenerate(req *plugin.CodeGeneratorRequest) []*descriptor.FileDescriptorProto

FilesToGenerate ...

func Info

func Info(msgs ...string)

Fail log and exit

func Main

func Main(g Generator)

Main ...

type Generator

type Generator interface {
	Generate(in *plugin.CodeGeneratorRequest) *plugin.CodeGeneratorResponse

Generator ...

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier