kratos: Index | Files

package gen

import ""


Package Files


func Error Uses

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

Error log and exit

func Fail Uses

func Fail(msgs ...string)

Fail log and exit

func FilesToGenerate Uses

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

FilesToGenerate ...

func Info Uses

func Info(msgs ...string)

Fail log and exit

func Main Uses

func Main(g Generator)

Main ...

type Generator Uses

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

Generator ...

Package gen imports 8 packages (graph) and is imported by 2 packages. Updated 2019-11-09. Refresh now. Tools for package owners.