go-mapper
CommunityGenerate Go mapper functions for data transformation.
Authorcristiano-pacheco
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of pure mapper functions in Go, streamlining the process of transforming data structures between different layers of an application (e.g., DTOs to use case inputs, models to response DTOs).
Core Features & Use Cases
- Automated Mapping: Generates functions to map structs between various layers like HTTP DTOs, use case inputs/outputs, and persistence models.
- Consistent Naming: Enforces a
ToXxxnaming convention for public functions andtoXxxfor private helpers. - Use Case: When receiving a
CreateUserRequestfrom an API, use this Skill to generate a mapper function that converts it into aCreateUserInputstruct for your business logic.
Quick Start
Use the go-mapper skill to generate a mapper function for converting a UserModel to a UserResponse.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: go-mapper Download link: https://github.com/cristiano-pacheco/ai-tools/archive/main.zip#go-mapper 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 223,000+ vetted skills library on demand.