forked from Fuyu/router
Fix POST routes without input
This commit is contained in:
parent
6eeb6b9321
commit
3131ac9efb
@ -15,7 +15,7 @@ type route struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Handle handles a request
|
// Handle handles a request
|
||||||
type Handle func(*Context) error
|
type Handle = func(*Context) error
|
||||||
|
|
||||||
// ErrorHandle handles a request
|
// ErrorHandle handles a request
|
||||||
type ErrorHandle func(*Context, interface{})
|
type ErrorHandle func(*Context, interface{})
|
||||||
|
Loading…
Reference in New Issue
Block a user