Go CLI Cross Compile and Release
Cross-compilation, build flags, ldflags, reproducible releases, CGO controls, and packaging patterns with the go command.
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all
## Cross Compilation
## Build Flags
## Release Packaging
## Inspection and Binary Introspection
More in Go CLI
Go CLI Tools and Generate
go tool, go generate, code generation, formatting helpers, analysis tools, and practical developer automation with the Go CLI.
Go CLI Testing and Benchmarks
go test patterns for package tests, focused runs, benchmarks, fuzzing, coverage, JSON output, and CI-friendly test workflows.
Go CLI Modules and Workspaces
Go modules and go work workflows for init, tidy, vendor, replace, workspaces, private modules, and dependency management.
Go CLI Cheat Sheet
Core go command workflows for build, run, test, env, fmt, vet, doc, install, list, clean, toolchains, and everyday module-aware development.