julienschmidt / go-http-routing-benchmark

Go HTTP request router and web framework benchmark
BSD 3-Clause "New" or "Revised" License
1.65k stars 237 forks source link

Can't compile #63

Closed zcalusic closed 8 years ago

zcalusic commented 8 years ago

github.com/julienschmidt/go-http-routing-benchmark

./routers.go:338: c.Response undefined (type echo.Context is pointer to interface, not interface) ./routers.go:338: c.Param undefined (type echo.Context is pointer to interface, not interface) ./routers.go:343: c.Response undefined (type echo.Context is pointer to interface, not interface) ./routers.go:343: c.Request undefined (type echo.Context is pointer to interface, not interface) ./routers.go:357: cannot use h (type interface {}) as type echo.HandlerFunc in argument to e.Get: need type assertion ./routers.go:359: cannot use h (type interface {}) as type echo.HandlerFunc in argument to e.Post: need type assertion ./routers.go:361: cannot use h (type interface {}) as type echo.HandlerFunc in argument to e.Put: need type assertion ./routers.go:363: cannot use h (type interface {}) as type echo.HandlerFunc in argument to e.Patch: need type assertion ./routers.go:365: cannot use h (type interface {}) as type echo.HandlerFunc in argument to e.Delete: need type assertion ./routers.go:370: cannot use e (type echo.Echo) as type http.Handler in return argument: echo.Echo does not implement http.Handler (wrong type for ServeHTTP method) have ServeHTTP(engine.Request, engine.Response) want ServeHTTP(http.ResponseWriter, *http.Request) ./routers.go:370: too many errors