What web framework do you prefer and why?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/golang

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • go-zero

    A cloud-native Go microservices framework with cli tool for productivity.

  • go-rest-api-example

    An example REST API microservice in golang

    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.

  • freeblog

    Free blog system (developed using Go, Svelte, Sqlite3)

  • buf

    A new way of working with Protocol Buffers.

    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

  • mux

    A powerful HTTP router and URL matcher for building Go web servers with 🦍

    Of course you can do it, but using something like https://github.com/gorilla/mux will just be an overall more pleasant experience.

  • gqlgen

    go generate based graphql server library

    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.

  • oapi-codegen

    Generate Go client and server boilerplate from OpenAPI 3 specifications

    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.

  • grpc-gateway

    gRPC to JSON proxy generator following the gRPC HTTP spec

    There's a pretty thorough walkthrough of this approach in the readme for the grpc-gateway plugin: https://github.com/grpc-ecosystem/grpc-gateway

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts