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

    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.

  • 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

    Discontinued Rapid Web Development w/ Go

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

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

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