From 3131ac9efbce4fb7226c7b535ecf473596e789c1 Mon Sep 17 00:00:00 2001 From: NiseVoid Date: Tue, 16 Oct 2018 18:26:06 +0200 Subject: [PATCH] Fix POST routes without input --- router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router.go b/router.go index 45d0619..f091723 100644 --- a/router.go +++ b/router.go @@ -15,7 +15,7 @@ type route struct { } // Handle handles a request -type Handle func(*Context) error +type Handle = func(*Context) error // ErrorHandle handles a request type ErrorHandle func(*Context, interface{})