Our great sponsors
-
-
I used the libraries mentioned here: https://github.com/rameshsunkara/go-rest-api-example
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
-
Big fan of gRPC-gateway. Not a big fan of protocol buffers however. That being said, https://buf.build/ makes them manageable and was built by the same guys doing gRPC-gateway
-
Of course you can do it, but using something like https://github.com/gorilla/mux will just be an overall more pleasant experience.
-
In recent projects I used flutter on the client side and the server was a REST client generated by the goa.design library, which seemed better than twirp. Or I used GraphQL - and I used the whole server which was generated by the https://github.com/99designs/gqlgen library. GraphQL is probably the best choice for the Flutter - Go combination.
-
mojito
Code your next Go web project with (a) Mojito! Mojito is a super-modular, fast, opinion-less framework to bootstrap your next Go web project. (by go-mojito)
I use the one I made with a friend :) https://github.com/go-mojito/mojito
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
We write the OAPI3 spec first - then use oapi-codegen to generate the boilerplate in Echo. After that it's just minor wiring things together and we're off to writing business logic. It includes request validation middleware as well - which was one of our hard requirements.
-
There's a pretty thorough walkthrough of this approach in the readme for the grpc-gateway plugin: https://github.com/grpc-ecosystem/grpc-gateway