mirror of
https://github.com/kataras/iris.git
synced 2026-01-01 09:17:02 +00:00
CI: minor: use the new exclude-paths (dependabot PR approved some days ago)
This commit is contained in:
@@ -14,7 +14,7 @@ import (
|
||||
// .FromStd(h http.Handler)
|
||||
// .FromStd(func(w http.ResponseWriter, r *http.Request))
|
||||
// .FromStd(func(w http.ResponseWriter, r *http.Request, next http.HandlerFunc))
|
||||
func FromStd(handler interface{}) context.Handler {
|
||||
func FromStd(handler any) context.Handler {
|
||||
switch h := handler.(type) {
|
||||
case context.Handler:
|
||||
return h
|
||||
|
||||
Reference in New Issue
Block a user