Documentation ¶
Index ¶
- Constants
- func Execute()
- func GenerateProtobuf(pd *parser.ProtoData, basePath string, needGenGrpcPb bool) error
- func GetProtoAbsPath(protoName string) string
- func GetTemplateClientDir() string
- func GetTemplateProtoDir() string
- func GetTemplateServerDir() string
- func JoinModulePrefixWithGroup() string
Constants ¶
View Source
const ( ProtoFileSuffix = ".proto" ServiceNameVar = "{SERVICE_NAME}" )
Variables ¶
This section is empty.
Functions ¶
func GenerateProtobuf ¶
func GetProtoAbsPath ¶
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.
Click to show internal directories.
Click to hide internal directories.