14 lines
270 B
Go
14 lines
270 B
Go
package middleware
|
|
|
|
import (
|
|
"github.com/gofiber/fiber/v3"
|
|
)
|
|
|
|
// RepoMiddleware 仓库名中间件(如果需要的话)
|
|
func RepoMiddleware() fiber.Handler {
|
|
return func(c fiber.Ctx) error {
|
|
// 可以在这里处理仓库名相关的逻辑
|
|
return c.Next()
|
|
}
|
|
}
|