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
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • OPS - Build and Run Open Source Unikernels
  • GitHub repo 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.

  • GitHub repo ent

    An entity framework for Go

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo 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).

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

  • GitHub repo SQLBoiler

    Generate a Go ORM tailored to your database schema.

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

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

  • GitHub repo Buffalo

    Rapid Web Development w/ Go

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

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

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