SKILL41.0K installs3.7K

Golang Database

Comprehensive guide for Go database access — parameterized queries, struct scanning, NULLable columns, transactions, isolation levels, SELECT FOR UPDATE, connection pool, batch processing, context propagation, and migration tooling. Use when writing, reviewing, or debugging Golang code that interacts with PostgreSQL, MariaDB, MySQL, or SQLite; for database testing; or for questions about database/sql, sqlx, or pgx. Does NOT generate database schemas or migration SQL.

Type
Skill
Author
samber
Category
Database
GitHub stars
3.7K
Installs
41.0K
Last updated
November 1, 2026

Install

npx skills add https://github.com/samber/cc-skills-golang --skill golang-database

Use cases


Frequently Asked Questions

Which databases does this skill cover?

PostgreSQL, MariaDB, MySQL, and SQLite.

Does it generate schemas or migration SQL?

No, it does not generate database schemas or migration SQL.

Which Go database libraries are mentioned?

database/sql, sqlx, and pgx.


About this skill

Covers Go database access: parameterized queries, struct scanning, nullable columns, transactions and isolation levels, SELECT FOR UPDATE, connection pooling, batch processing, context propagation, and migration tooling. It applies to PostgreSQL, MariaDB, MySQL, and SQLite work with database/sql, sqlx, or pgx, including database testing. It doesn't generate schemas or migration SQL.

Summary written with AI assistance from the project's public description.


Categories


More from samber


Similar Skills