gorm-serializer
CommunityEasily serialize complex Go types in GORM
Authorliurida
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Storing and retrieving complex Go structures—such as slices, maps, or custom structs—in a single database column is cumbersome without a consistent serialization strategy. This skill provides a standardized way to convert these types into formats that databases can store and later reconstruct.
Core Features & Use Cases
- Built‑in serializers: JSON, GOB, and UnixTime for quick adoption.
- Custom serializer registration: Implement
SerializerInterfaceand register withschema.RegisterSerializer. - Field‑level custom types: Define types that embed their own serialization logic.
- Practical scenarios: Persist user preferences as JSON, encrypt sensitive fields, or store timestamps as Unix epochs without manual conversion.
Quick Start
Use the serializer skill to save a User model with JSON‑serialized fields to the database.
Dependency Matrix
Required Modules
None requiredComponents
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-serializer Download link: https://github.com/liurida/gorm-development-skill/archive/main.zip#gorm-serializer Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.