cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProtoFileSuffix = ".proto"
	ServiceNameVar  = "{SERVICE_NAME}"
)

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute runs the root command

func GenerateProtobuf

func GenerateProtobuf(pd *parser.ProtoData, basePath string, needGenGrpcPb bool) error

func GetProtoAbsPath

func GetProtoAbsPath(protoName string) string

func GetTemplateClientDir

func GetTemplateClientDir() string

func GetTemplateProtoDir

func GetTemplateProtoDir() string

func GetTemplateServerDir

func GetTemplateServerDir() string

func JoinModulePrefixWithGroup

func JoinModulePrefixWithGroup() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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