LogoClawIndex
CasesSkillsAbout
LogoClawIndex

golang-database-patterns - Build Go database access layers

Provides Go patterns for SQL access, repositories, transactions, connection pools, PostgreSQL features, and schema migrations.

Tags

Updated: 2026-11-25
databasegolangsqlxpgxmigrationsrepository-patternsql

Capabilities

Choose SQL librariesImplement CRUD operationsBuild repository interfacesHandle database transactions

Typical Inputs

Go projectDatabase connection stringSQL database

Typical Outputs

Go database access codeRepository interfacesSQL migration files

What this skill does

  • Choose SQL libraries
  • Implement CRUD operations
  • Build repository interfaces
  • Handle database transactions
  • Configure connection pools
  • Manage schema migrations
  • Test database code
  • Use PostgreSQL features

Inputs

  • Go project
  • Database connection string
  • SQL database
  • Schema migration files

Outputs

  • Go database access code
  • Repository interfaces
  • SQL migration files
  • Database operation results

Requirements

  • Go toolchain
  • SQL database driver
  • database/sql, sqlx, or pgx
  • golang-migrate for migrations

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.