3 ms·
> and really hate to see people rely on frameworks in Go (like Gorilla or Alice). These frameworks certainly have a place. But if you haven't written vanilla Go
by elithrar 11y ago
> and really hate to see people rely on frameworks in Go (like Gorilla or Alice). These frameworks certainly have a place. But if you haven't written vanilla Go, you are really missing the point.
Just to jump in: Gorilla (a collection of standalone packages) and Alice (a middleware chaining library) are definitely (far) far calls from frameworks - the submission, and other frameworks like Gin/Martini/etc. are more strongly coupled.
I wouldn't blame anyone who uses gorilla/mux and/or gorilla/schema to avoid writing their own a) pattern matching router (which net/http does not provide) and/or a comprehensive, battle-tested r.PostForm to struct mapper.
Otherwise I agree that Go the language—and Go the community—lean towards glueing smaller components together, rather than reaching for a kitchen sink solution.