Go Database

Use when writing, reviewing, or debugging Go code that talks to a SQL database (PostgreSQL, MySQL, MariaDB, SQLite). Covers library choice (database/sql, sqlx, sqlc, pgx, GORM trade-offs), parameterized queries, context propagation, NULL handling, scanning, transactions and isolation, connection pool tuning, and migration tooling. Apply when adding repository code, refactoring SQL, or auditing for missing rows.Close()/QueryContext.

tomevault-io Updated

File contents

tomevault-io/skills-registry/tree/main/muratmirgun--gophers--go-database commit 6b9f5044d7

Frequently asked questions

npx skillmds@latest add tomevault-io/go-database