whatisgithub

What is gorm?

saeidee/gorm — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2023-08-02

1Audience · developerComplexity · 2/5DormantSetup · easy

In one sentence

GORM lets Go developers work with databases using Go code instead of raw SQL, automatically handling queries, table creation, and relationships.

Mindmap

mindmap
  root((gorm))
    What it does
      Go to SQL translation
      Auto table sync
      CRUD operations
    Tech stack
      Go
      SQL databases
    Use cases
      Web service backends
      API data layer
      Manage relationships
    Audience
      Go developers
      Backend teams
    Notable
      SQL injection safe
      Plugin support

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Define data structures once in Go and let GORM automatically create or update matching database tables.

USE CASE 2

Store, fetch, update, and delete records without writing raw SQL by hand.

USE CASE 3

Manage relationships between data types, like a user having many orders.

What is it built with?

Go

How does it compare?

saeidee/gorm0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScript
Last pushed2023-08-02
MaintenanceDormant
Setup difficultyeasyhardeasy
Complexity2/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Copy-paste prompts

Prompt 1
Show me how to define a Go struct as a GORM model and auto-migrate it into a database table.
Prompt 2
Help me write GORM code to create a one-to-many relationship between users and orders.
Prompt 3
How do I perform basic create, read, update, and delete operations using GORM?
Prompt 4
Explain how GORM protects against SQL injection compared to writing raw SQL queries.
Prompt 5
Walk me through setting up GORM plugins for monitoring query performance.

Frequently asked questions

What is gorm?

GORM lets Go developers work with databases using Go code instead of raw SQL, automatically handling queries, table creation, and relationships.

Is gorm actively maintained?

Dormant — no commits in 2+ years (last push 2023-08-02).

How hard is gorm to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is gorm for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.