kratos: github.com/bilibili/kratos/tool/protobuf/pkg/gen Index | Files

package gen

import "github.com/bilibili/kratos/tool/protobuf/pkg/gen"

Index

Package Files

main.go

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 4 packages. Updated 2019-11-09. Refresh now. Tools for package owners.