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
>
> 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
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
I can only recommend
https://pkg.go.dev/golang.org/x/oauth2/clientcredentials?tab=doc if you are
implementing that.
Configure clientcredentials.Config and use the http.Client returned by the
Client method of that Config to do all your http calls.
It manages all the token refreshing