Which web framework to learn?

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

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • OPS - Build and Run Open Source Unikernels
  • Scout APM - Less time debugging, more time building
  • ent

    An entity framework for Go

    I have not used Ent (https://entgo.io/) yet since I am typically anti-ORM but Ent solves things in ways that make me think I could tolerate it. The team has had really good velocity for adding things to it so I at least want to do a proof of concept with it in the future.

  • Fiber

    ⚡️ Express inspired web framework written in Go

    Check Fiber, here.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • Echo

    High performance, minimalist Go web framework

    https://echo.labstack.com is fantastic

  • mux

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

    I recommend gorilla/mux (https://github.com/gorilla/mux), a most widely used http router library and go-doudou (https://github.com/unionj-cloud/go-doudou) RESTful microservice framework based on it. Go-doudou supports developing monolith service as well. It's also a code generator cli which can generate main function, routes, http handlers, mock service implementation, http client, OpenAPI 3.0 json spec and more to let you deploy your awesome projects as soon as possible.

  • go-doudou

    go-doudou(doudou pronounce /dəudəu/)is a gossip protocol and OpenAPI 3.0 spec based decentralized microservice framework. It supports monolith service application as well. Currently, it supports restful service only.

    I recommend gorilla/mux (https://github.com/gorilla/mux), a most widely used http router library and go-doudou (https://github.com/unionj-cloud/go-doudou) RESTful microservice framework based on it. Go-doudou supports developing monolith service as well. It's also a code generator cli which can generate main function, routes, http handlers, mock service implementation, http client, OpenAPI 3.0 json spec and more to let you deploy your awesome projects as soon as possible.

  • Gin

    Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

    https://github.com/gin-gonic/gin has worked fine for me for years in prod. It has a decent enough API, and has never been the bottleneck.

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