LogoClawIndex
CasesSkillsAbout
LogoClawIndex

kratos-mapper - Bidirectional mapper generator for go-kratos protobuf DTOs and domain models

Generates mapper functions that convert between protobuf DTOs and business domain models for go-kratos services

Tags

Updated: 2026-03-09

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • create mapper functions
  • handle type conversions
  • map request to domain model
  • map domain model to response
  • transform timestamps
  • handle optional fields
  • process pagination metadata
  • generate type-safe conversions

Inputs

  • protobuf DTOs
  • business domain models
  • go-kratos service
  • mapper patterns
  • type conversion rules
  • naming conventions

Outputs

  • mapper functions
  • type-safe conversion code
  • service layer files

Requirements

  • go-kratos framework
  • protobuf definitions
  • business domain models

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
kratos
mapper
dto
converter
proto
type-conversion
create mapper functions
handle type conversions
map request to domain model
map domain model to response
protobuf DTOs
business domain models
go-kratos service
mapper functions
type-safe conversion code
service layer files