Documentation ¶
Index ¶
Constants ¶
View Source
const (
StringSlice = ` "{{.str}}",`
)
Variables ¶
View Source
var (
ParamConverter = map[reflect.Kind]func(v string) (interface{}, error){}
)
Functions ¶
func BuildRouteMap ¶
func BuildRouteMap(controllerStatusPath, controllerPath, goModFilePath, genPath string, contrs ...controller.IController)
BuildRouteMap 本地环境根据Controller注释构建RouteMap
func InjectFunc ¶
func InjectFunc(ctx *socreq.GinContext, handlerFunc *model.HandlerFuncInOut) ([]reflect.Value, errors.AppError)
func RegisterRoute ¶
func RegisterRoute(engine *gin.Engine, controllerStatusPath, controllerPath, goModFilePath, genPath string, routeUrlMethodMap map[string]map[string]map[string][]string, handlerFuncMap map[string]model.HandlerFuncInOut, contrs ...controller.IController)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.