gorm-many-to-many

Community

Effortlessly manage many-to-many relationships in GORM

Authorliurida
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Many-to-many relationships require a join table and careful handling of foreign keys; this skill removes the boilerplate and ensures correct setup in GORM.

Core Features & Use Cases

  • Simple declaration using the many2many tag to auto‑create join tables.
  • Bidirectional and self‑referential associations for back‑reference scenarios.
  • Custom join tables that can include additional fields, soft deletes, and hooks.
  • Full set of association mode operations such as append, replace, delete, clear, and count.
  • Eager loading with preload and configurable foreign‑key constraints for robust data integrity.

Quick Start

Create a user with languages and retrieve their associated records in a single GORM query.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: gorm-many-to-many
Download link: https://github.com/liurida/gorm-development-skill/archive/main.zip#gorm-many-to-many

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.