Skip to content
stacks

go

Current stacks and fragments, ordered by name.

Language and other tags

Go CLI

Stack · go-cli

A Go command-line tool with cobra commands, viper config (file, env, flags), structured errors with actionable suggestions, human and JSON output, testify tests with race detection and a coverage floor, and golangci-lint.

67%66–69%, n=3,430

32% never ran verify

npx @steamfield/stacks new go-cli

No ledger run recorded.

Go HTTP API

Stack · go-api

A Go HTTP API on the standard library (net/http, slog) with no web framework. JSON resources share one error envelope and request logging, the server shuts down cleanly on SIGINT and SIGTERM, and race-enabled tests run against the built binary.

74%73–76%, n=2,470

37% never ran verify

npx @steamfield/stacks new go-api

No ledger run recorded.

GoReleaser

Fragment · goreleaser

Tag-driven releases for a Go binary with GoReleaser, covering cross-platform builds with version ldflags, archives, checksums, a conventional-commit changelog, a GitHub release workflow, and optional Homebrew publishing.

66%62–70%, n=590

30% never ran verify