Martti T.

Results 364 comments of Martti T.

This probably be better off as separate library

Echo does not differentiate any CPU architecture from each other. Echo is built on Go standard library and if there are differences - it has to originate from there. ---------------------------------...

You only need to do `go get github.com/labstack/echo/v4` as it adds the middleware package also.

Yep, there needs to be `c.Request().Body = io.NopCloser(bytes.NewBuffer(buf1))` after `bindErr := c.Bind(req)` as bind will "readAll" that body again and making sure that the reader of the body is reusable...

If it is not too much to ask - all these API changes. including Enums - it would be really helpful for downstream projects if these are mentioned in changelog...

he means whatever CAN transceiver that you connect directly to the NGT-1 and can use to send your own packets. Problably easiest would be to buy these [usb-to-cantransceiver](https://www.amazon.de/-/en/Stm32f072-Supports-Candlelight-Compatible-Platforms/dp/B0BR82X142) device that...

`c.Response().Writer` does not help? you can verify this with ```go package main import ( "errors" "github.com/labstack/echo/v4" "io" "log/slog" "net/http" ) func main() { e := echo.New() e.GET("/", func(c echo.Context) error...

ok, I see. we are talking about this place in Echo https://github.com/labstack/echo/blob/45524e39d60d424d8ac175001eed70d6ace92930/middleware/static.go#L243-L246 maybe changing from ```go http.ServeContent(c.Response(), c.Request(), info.Name(), info.ModTime(), file) ``` to ```go http.ServeContent(c.Response().Writer, c.Request(), info.Name(), info.ModTime(), file) ```...

`c.Path()` will return empty string if there is no route match. NB: if `e.RouteNotFound()` exists and is matched - it will have path.

This is working as intended. Skipper is called always before next middleware/handler is called. At this time there is no response (code) yet. You can use `RequestLogger` middleware to ignore...