优化函数定义
This commit is contained in:
@ -27,9 +27,9 @@ type IApi interface {
|
||||
GetHandler() gin.HandlerFunc
|
||||
}
|
||||
|
||||
// RouterFunc 注册路由的函数
|
||||
// RegisterFunc 注册路由的函数
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 3:09 下午 2021/3/26
|
||||
type RouterFunc func() (method string, uri string, handlerFunc gin.HandlerFunc, middlewareList []gin.HandlerFunc)
|
||||
type RegisterFunc func() (method string, uri string, handlerFunc gin.HandlerFunc, middlewareList []gin.HandlerFunc)
|
||||
|
Reference in New Issue
Block a user