4 ms·
This feels very similar to Martini (https://github.com/go-martini/martini https://github.com/go-martini/martini). Martini had a similar sort of design (and IMO
by nemothekid 10y ago
This feels very similar to Martini (https://github.com/go-martini/martini https://github.com/go-martini/martini).
Martini had a similar sort of design (and IMO a cleaner source code), but the author decided that reflection and non-idoimatic design was too much of a cost for the HTTP framework in Go. I think 2 years ago when Martini was released people were more open to reflection, but now I'm interested/doubtful if something like this can be accepted.
Funnily enough, I think Gin-Gonic was inspired by Martini, but Gin-Gonic eschewed reflection in favor of performance/idiomatic design. The fact that this project considers Gin Gonic an inspiration is funny.