Closed mikespook closed 9 years ago
There will be a panic panic: echo: unknown handler after running go test.
panic: echo: unknown handler
go test
The reason is the declaration of HandlerFunc is in echo.go, line 40:
HandlerFunc func(*Context) *HTTPError
It will not match the declaration func(*Context) error in the test.
func(*Context) error
Thank you!
There will be a panic
panic: echo: unknown handler
after runninggo test
.The reason is the declaration of HandlerFunc is in echo.go, line 40:
HandlerFunc func(*Context) *HTTPError
It will not match the declaration
func(*Context) error
in the test.