Do you use frameworks?

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

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • 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

    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

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

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

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • 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

    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