Re: [go-nuts] How to break-out of martini middleware

2020-03-15 Thread Marcin Romaszewicz
Martini is defunct, but Gin took their torch and ran with it. I use such http routing frameworks as part of my day job, and would recommend the three following ones. 1) Echo (https://github.com/labstack/echo) 2) Gin (https://github.com/gin-gonic/gin) 3) Chi (https://github.com/go-chi/chi) I would

Re: [go-nuts] How to break-out of martini middleware

2020-03-15 Thread Jake Montgomery
> > Note that Martini is not maintained anymore > I hope this is not too off topic, but when choosing a third party go package it is really important to consider whether the package is being maintained. In my experience it is worth steering clear of any complex package that is not being

Re: [go-nuts] How to break-out of martini middleware

2020-03-15 Thread Ian Lance Taylor
On Sat, Mar 14, 2020 at 6:39 PM 'Benjamin' via golang-nuts wrote: > > I don’t need to read the stackoverflow. And I don’t know martini. > Middlewares and Handler are all can break the pipeline of http request. > If martini is not designed like this, it is not well designed. Maybe the > authors

Re: [go-nuts] How to break-out of martini middleware

2020-03-14 Thread Dan Kortschak
Note that Martini is not maintained anymore and the original author had a fair bit to say about the merits or otherwise of the packages (via the wayback machine since codegangsta.io is no longer live):

Re: [go-nuts] How to break-out of martini middleware

2020-03-14 Thread 'Benjamin' via golang-nuts
I don’t need to read the stackoverflow. And I don’t know martini. Middlewares and Handler are all can break the pipeline of http request. If martini is not designed like this, it is not well designed. Maybe the authors of martini do not have real production software expriences. Big companies like

[go-nuts] How to break-out of martini middleware

2020-03-14 Thread alex
I am looking for answer to this SO overflow question: https://stackoverflow.com/questions/60679922/how-to-break-out-of-martini-middleware In essence, I am wondering how to send the response, and *not* invoke any of the subsequent middleware that is declared as part of the chain for that