Files
workspace/code/go-project/base-farmework/pkg/middleware/routinex.go
T
2025-08-16 17:29:46 +08:00

14 lines
204 B
Go

package middleware
import (
"base-framework/pkg/router"
"base-framework/pkg/routinex"
)
func Routinex() router.HandlerFunc {
return func(c *router.Context) {
defer routinex.Clear()
c.Next()
}
}