go-database

Installation
SKILL.md

Go Database Patterns

Database access is where most Go services spend their complexity budget. Get connection management, transactions, and query patterns right.

1. Connection Management

Configure the connection pool explicitly:

func OpenDB(dsn string) (*sql.DB, error) {
    db, err := sql.Open("postgres", dsn)
    if err != nil {
        return nil, fmt.Errorf("open db: %w", err)
    }
Installs
46
GitHub Stars
60
First Seen
Apr 6, 2026
go-database — eduardo-sl/go-agent-skills