Does Go have an equivalent to Python's Flask and Django?

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

Our great sponsors
  • InfluxDB - Access the most powerful time series database as a service
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
  • Buffalo

    Rapid Web Development w/ Go

    High-level frameworks can easily be built in Go and have been many times. Some examples: https://github.com/gobuffalo/buffalo, https://github.com/beego/beego. There are actual reasons frameworks aren't great, but there are certainly uses for them, specifically when you need to get things done quickly. However, I'd go for a somewhat lower-level, more lightweight framework that doesn't do as much for you, like Echo.

  • Squirrel

    Fluent SQL generation for golang

    None, but if you wanna go the middle ground between writing pure SQL and a fully fledged ORM I recommend query builders like Squirrel

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • beego

    beego is an open-source, high-performance web framework for the Go programming language.

    High-level frameworks can easily be built in Go and have been many times. Some examples: https://github.com/gobuffalo/buffalo, https://github.com/beego/beego. There are actual reasons frameworks aren't great, but there are certainly uses for them, specifically when you need to get things done quickly. However, I'd go for a somewhat lower-level, more lightweight framework that doesn't do as much for you, like Echo.

  • mux

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

    The maintainer of Gorilla is in the process of dropping the project (he just doesn’t have enough time for it anymore) and is looking for new maintainers. A number of volunteers have replied to the issue but it seems like nobody has been chosen yet even though the call for new maintainers has been up for over a year.

  • bud

    The Full-Stack Web Framework for Go

    See https://github.com/livebud/bud to learn more.

  • go

    The Go programming language

    tbh I think it's a culture coming from the maintainers of the language themselves. Problems are solved by assessing that they don't exist. example: https://github.com/golang/go/issues/45179

  • kago

    KaGo

    The closest I’ve seen is https://github.com/kamalshkeir/kago it’s not only building the restful part but also the ORM using Go generics to match día go behavior. It even supports migrations

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

  • pongo2

    Django-syntax like template-engine for Go

    At least template-wise, I've developed pongo2 mimicking Django's template engine which I use myself for various projects. For the rest I usually stick with the standard library (net/http), golang-jwt, the Gorilla toolkit (note that it's been archived recently) and some software architecture patterns for middlewares, database abstraction, etc.

  • jwt

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

    At least template-wise, I've developed pongo2 mimicking Django's template engine which I use myself for various projects. For the rest I usually stick with the standard library (net/http), golang-jwt, the Gorilla toolkit (note that it's been archived recently) and some software architecture patterns for middlewares, database abstraction, etc.

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