4 ms·
Compared to say Rails/Django, there’s very little magic in the Go ecosystem. You end up rewriting a lot of boilerplate. People would often recommend that you st
by oefrha 5y ago
Compared to say Rails/Django, there’s very little magic in the Go ecosystem. You end up rewriting a lot of boilerplate. People would often recommend that you start with bare bones net/http, database/sql, etc., not even a minimal framework like Gin/Echo. This is okay for building performant microservices, but it does get annoying when you’re just trying to spin up your twentieth boring CRUD backend quickly.
- kamalhm 5y agoas someone not familiar with Go, always wondering why Go people like to recommend the net/http package instead of those framework, are most go backend services actually written from scratch? I find it quite hard to understand since in the Java world it's usually SpringBoot everywhere
- tompston 5y agoI wrote a REST API / boilerplate reducing codegen tool for this exact reason for the Go Fiber framework. Maybe might help. https://github.com/tompston/gomakeme https://github.com/tompston/gomakeme