go-service

Installation
SKILL.md

Go Service

Production-grade Go microservices using the standard library, sqlc for SQL, urfave/cli for commands, and slog for structured logging.

Core Principles

  • Do one thing well: Single responsibility per component
  • Simple over complex: Plain JSON, standard SQL, environment variables
  • Compose: Design for piping and standard interfaces
  • Explicit dependencies: No globals, no singletons, pass everything as parameters

Project Structure

.
├── cmd/
│   ├── server/          # Backend service entry point
│   └── client/          # CLI entry point
├── cli/                 # CLI implementation
Related skills
Installs
13
First Seen
Mar 28, 2026