forked from Fuyu/router
Fix POST routes without input
This commit is contained in:
parent
6eeb6b9321
commit
3131ac9efb
1 changed files with 1 additions and 1 deletions
|
@ -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{})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue