Does gorm worth learning?

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
  • OPS - Build and Run Open Source Unikernels
  • SonarQube - Static code analysis for 29 languages.
  • SQLBoiler

    Generate a Go ORM tailored to your database schema.

    I have been using sqlboiler. In my honest opinion it is the best ORM. You can see benchmark here https://github.com/volatiletech/sqlboiler

  • sqlc

    Generate type-safe code from SQL

    I would go with raw SQL all the time. You can try sqlc to reduce initial boilerplate.

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

  • bqb

    BQB is a lightweight and easy to use query builder that works with sqlite, mysql, mariadb, postgres, and others.

    There's also bqb. We use it in production at our company -- much better than raw SQL. If you couple it with something like scany then you get more of the ORM benefits without the complexity.

  • scany

    Library for scanning data from a database into Go structs and more

    There's also bqb. We use it in production at our company -- much better than raw SQL. If you couple it with something like scany then you get more of the ORM benefits without the complexity.

  • dbq

    Zero boilerplate database operations for Go

    I'm the author of https://github.com/rocketlaunchr/dbq. It is not an orm but I built it to be much much faster than gorm.

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