All languages

Go for DevOps

You're viewing a free preview. Sign in free to read every script.

Why this exists The earlier pages each teach one skill. A real tool uses them together , and the new skill at this scale is structure : which package does what, how the pieces are tested separately, how the version gets…

Capstone: logstat in Go, a Tested, Race-Checked, Version-Stamped Command-Line Tool in Three Packages

Put the whole track together in one real module: a parser, a statistics package and a command-line layer in cmd/ and internal/, table-driven tests, coverage and the race detector, build-time version stamping, cross-compilation, and exit codes a pipeline can act on.

Sign in free to read this script, along with the rest of the library.

Sign in free