Has anybody moved from Django (python) to any of the Go backend frameworks?

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

Our great sponsors
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
  • sqlx

    general purpose extensions to golang's database/sql

    One of the things I remember was differences in NULL/empty handling of SQL values between Python (Peewee) and Go. I didn't use an ORM on the Go side, just straight database/sql. If doing it again today I'd probably still avoid an ORM in Go, but I might use sqlx as it makes unpacking into structs much simpler.

  • ent

    An entity framework for Go

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

  • Squirrel

    Fluent SQL generation for golang

    No such library exists for Go unfortunately, though any query builder is better than an ORM - i.e. [Squirrel](https://github.com/Masterminds/squirrel).

  • sqlc

    Generate type-safe code from SQL

    You can get the static type benefit of an ORM without the ORM in Go if you use https://sqlc.dev.

  • SQLBoiler

    Generate a Go ORM tailored to your database schema.

    Consider SQL Boiler because it can integrate directly with an existing database.

  • upper.io/db

    Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.

    So far, I've enjoyed using https://github.com/upper/db for raw query building.

  • Buffalo

    Rapid Web Development w/ Go

    https://gobuffalo.io/ is a full featured web framework that the OP might be interested in

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

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