Skip to content

Commit a97d4bf

Browse files
n9te9aldas
authored andcommitted
fix func(Context) error to HandlerFunc
1 parent 35184a8 commit a97d4bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

echo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ func (e *Echo) ServeHTTP(w http.ResponseWriter, r *http.Request) {
626626
// Acquire context
627627
c := e.pool.Get().(*context)
628628
c.Reset(r, w)
629-
var h func(Context) error
629+
var h HandlerFunc
630630

631631
if e.premiddleware == nil {
632632
e.findRouter(r.Host).Find(r.Method, GetPath(r), c)

0 commit comments

Comments
 (0)