Go Binary Size

Reduce the size of compiled Go binaries and container images: linker flags, inlining budget, CGO and build tags, embedded assets, dependency weight, and measuring what actually costs bytes. Use when a binary or image is too large, when shrinking a CLI for distribution, or when auditing what a dependency adds to the build. Trigger examples: "binary is too big", "shrink the binary", "reduce image size", "strip symbols", "what is making my binary large", "ldflags -s -w". Not for: runtime speed and allocations (go-performance-review), CI setup (go-ci), dependency CVEs (go-dependency-audit).

gabrielmoreira Updated 20 repo stars

File contents

gabrielmoreira/agent-skills-mirror commit ecf0cce55b

Frequently asked questions

npx get-skill add gabrielmoreira/go-binary-size