maker_protobuf

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: MulanPSL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenCodeForDefineST

func GenCodeForDefineST(df *generator.DefineST) (string, []string, error)

func GenFileForProto

func GenFileForProto(pSet *generator.PrototypeSet, origFn string) (string, error)

func GenSetForProto

func GenSetForProto(pSet *generator.PrototypeSet) ([]string, error)

Types

type GenConfig

type GenConfig struct {
	ProtoDir     string
	ProtoPackage string

	ProtoOptions map[string]string
}
var GenCFG *GenConfig

type PBField

type PBField struct {
	Name  string
	PBSeq int
}

Jump to

Keyboard shortcuts

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