internal

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AutoValidate = false
View Source
var PermissionPkg string

SupportedFeatures reports the set of supported protobuf language features.

Functions

func GenerateFile

func GenerateFile(gen *protogen.Plugin, file *protogen.File) *protogen.GeneratedFile

GenerateFile generates the contents of a .pb.go file.

func GetMessage

func GetMessage(file *protogen.File, name string) *protogen.Message

func JSONSnakeCase

func JSONSnakeCase(s string) string

Types

type ServiceInfo

type ServiceInfo struct {
	// 根路由
	ProjectUri string
	// 中间件
	MiddleWire string
	// 导包路径
	ImportPath []string
}

ServiceInfo 服务的基本信息,包括组路由,中间件

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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