golang-popular-libraries

Recommends production-ready Go libraries and frameworks with a standard-library-first philosophy.

Updated Jun 8, 2026
One-click install
npx skills add https://github.com/vovanostm-public/multica --skill golang-popular-libraries-vovanostm-public
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: golang-popular-libraries
Source: https://github.com/vovanostm-public/multica/tree/main/docs/wiki/architecture/archived-codex-skills/20260525-190000/golang-popular-libraries
Command: npx skills add https://github.com/vovanostm-public/multica --skill golang-popular-libraries-vovanostm-public

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Choosing the right Go library is hard: the ecosystem is large, some popular options are deprecated or unmaintained, and developers often add dependencies when the standard library already covers the use case. This Skill guides library selection with vetted recommendations and anti-pattern warnings. ## Core Features & Use Cases - Curated Library Catalog: Vetted third-party libraries organized by category — web frameworks, databases, testing, logging, messaging, caching, and more. - Standard Library First: Highlights new stdlib packages (slices, maps, log/slog, math/rand/v2) and golang.org/x extensions to check before adding dependencies. - Maintenance & Anti-Pattern Checks: Flags deprecated libraries (e.g., Logrus), warns against stdlib wrappers that add no value, and weighs dependency footprint. - Use Case: When starting a Go REST API, ask which router to use and get a recommendation like chi for lightweight net/http-compatible routing instead of a heavy full framework. ## Quick Start Ask the agent which Go library to use for connecting to PostgreSQL in a new project.

Frequently Asked Questions about golang-popular-libraries

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Which Go library should I use for PostgreSQL?▼

Use pgx (github.com/jackc/pgx) as the primary PostgreSQL driver. It is faster than lib/pq and supports all PostgreSQL types and advanced features, while lib/pq remains a viable but less capable alternative.

What Go web framework is best for a lightweight REST API?▼

Chi is the best fit when you want a lightweight router that stays close to net/http with minimal dependencies. Full frameworks like Gin or Echo offer more built-in features but add abstraction over the standard library.

Should I use log/slog or an external logging library in Go?▼

Start with log/slog, the structured logging package in the standard library since Go 1.21. Consider zap or zerolog only when you need zero-allocation logging in hot paths or features slog does not provide.

Is Logrus still recommended for Go logging?▼

No, Logrus is deprecated and in maintenance mode. For new projects, prefer log/slog from the standard library, or zap and zerolog for high-performance structured logging.

When should I avoid adding a third-party Go library?▼

Avoid libraries that merely wrap standard library functionality without adding value, abandoned or unmaintained packages, and libraries with large dependency footprints for simple needs. Every dependency increases attack surface and maintenance burden.

What is the difference between sqlc and GORM for database access?▼

sqlc generates type-safe Go code from SQL at compile time with no runtime reflection, so the compiler catches SQL errors. GORM is a feature-rich ORM that uses runtime reflection, which means SQL errors surface only at runtime.