Which web framework to learn?

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • 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.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Echo

    High performance, minimalist Go web framework

  • https://echo.labstack.com is fantastic

  • mux

    Discontinued 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 OpenAPI 3.0 (for REST) spec and Protobuf v3 (for grpc) based lightweight microservice framework. It supports monolith service application as well.

  • 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