dep upgrade
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
package handler
|
||||
|
||||
import (
|
||||
"github.com/flosch/pongo2/v5"
|
||||
"github.com/flosch/pongo2/v6"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
|
10
ui/handler/middleware.go
Normal file
10
ui/handler/middleware.go
Normal file
@ -0,0 +1,10 @@
|
||||
package handler
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
func Auth() gin.HandlerFunc {
|
||||
return func(cx *gin.Context) {
|
||||
|
||||
cx.Next()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user