Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AutoValidate = false
View Source
var PermissionPkg string
View Source
var SupportedFeatures = uint64(pluginpb.CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL)
SupportedFeatures reports the set of supported protobuf language features.
Functions ¶
func GenerateFile ¶
GenerateFile generates the contents of a .pb.go file.
func JSONSnakeCase ¶
Types ¶
type ServiceInfo ¶
type ServiceInfo struct {
// 根路由
ProjectUri string
// 中间件
MiddleWire string
// 导包路径
ImportPath []string
}
ServiceInfo 服务的基本信息,包括组路由,中间件
Click to show internal directories.
Click to hide internal directories.