Do you use frameworks?

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
  • 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.

  • A popular framework that comes to mind is Gin

  • mux

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

  • I use standard library along with gorilla/mux and golang-jwt/jwt

  • 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
  • jwt

    Community maintained clone of https://github.com/dgrijalva/jwt-go (by golang-jwt)

  • I use standard library along with gorilla/mux and golang-jwt/jwt

  • chi

    lightweight, idiomatic and composable router for building Go HTTP services

  • go-chi/chi

  • Fiber

    ⚡️ Express inspired web framework written in Go

  • fiber

  • Squirrel

    Fluent SQL generation for golang

  • Recently I discovered a phenomenal library called Masterminds/squirrel and I am just in-love with it, I use it for everything pertaining to database stuff. If you could imagine a spectrum of ORM on the left side, pure SQL queries on the right, squirrel is a somewhere in the middle. I highly recommend you check it out!

  • Echo

    High performance, minimalist Go web framework

  • It's a mix. I usually use echo (https://echo.labstack.com/) for routing and some middleware mixed in with custom middleware. Echo is used because it's readable and expressive in the function naming that ensures you know how it's behaving.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • rest

    Web services with OpenAPI and JSON Schema done quick in Go (by swaggest)

  • I used Echo for a lot of stuff (and it was easy to work with), but recently OpenAPI 3 has been a requirement, so I've switched to https://github.com/swaggest/rest

  • grpc-gateway

    gRPC to JSON proxy generator following the gRPC HTTP spec

  • There is an example here: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/examples/internal/proto/examplepb/stream.proto

  • GORM

    The fantastic ORM library for Golang, aims to be developer friendly

  • Goyave

    🍐 Elegant Golang REST API Framework (v5 release candidate available)

  • I'm using Goyave, removes the hassle of setting up a lot of things yourself for bigger projects or APIs that are going to be exposed to the internet. Otherwise for internal services it's probably overkill.

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