Repository navigation
docs(r16): The Go toolbox — example 47 + chapter 47 (Appendices: Tooling) - #16
Merged
Merged
Conversation
…line) Go-native hard gates: deterministic report digest (0x481984990deee5ff, same as ch46), go-generate diff-clean, gofmt, go vet printf, pprof hotLoop naming. gofumpt/golangci-lint/staticcheck/govulncheck/dlv/benchstat gated-if-present (absent on host -> SKIP), configs (.golangci.yml/.dlvinit) shipped as reference. Stdlib-only, no network, no vulnerable dep.
go toolchain/version mgmt, go generate diff-clean discipline, gofmt vs gofumpt, .golangci.yml/staticcheck authoring, govulncheck workflow, delve configs, pprof/benchstat. Verified go-native core (PASS 16/0, offline); 6 marquee tools shown-as-reference (absent on host). Relay Phase-3 SHIP 12/12.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Third chapter of Part 13 — Appendices: Tooling: the Go toolchain at reference depth, the twin of ch46. Single-language (
langs: [go]), local, offline-verifiable.What's in it
47-go-toolbox/— a stdlib-only Go 1.26 module engineered so every go-native tool produces a checkable effect.verify.lua→ PASS 16/0 offline._docs/47-go-toolbox.md(983 lines) — go/toolchain version management,go generatediff-clean discipline, gofmt vs gofumpt,.golangci.yml/staticcheck authoring, govulncheck workflow, delve configs, pprof/benchstat.47-go-toolchain-pipeline(toolchain/generate flow) and47-go-tool-gates(the two verification lanes).Verified vs shown
The go-native hard core (A–E) is verified offline — everything ships in the
gobinary:toolbox reportdigest —0x481984990deee5ff, byte-identical to ch46's C++ digest (FNV-1a is language-independent — a cross-appendix check).go generate ./... && git diff --exit-codeclean (a self-contained generator, nostringer).gofmt -l,go vet -tags vetdemo(printfatvetdemo.go:13),go tool pprof -topnaminghotLoop.The six marquee tools — gofumpt, golangci-lint, staticcheck, govulncheck, dlv, benchstat — are absent on this host, so per the chosen offline scope they ship with real committed configs (
.golangci.yml,.dlvinit) and skip-if-present gates a reader with the tools would hit, but are markedstatus--unverified. govulncheck is covered as workflow with an explicitly-placeholder advisory (no vulnerable dep committed, no network).Differentiation
Cross-references — not re-teaches — ch31 (3-language profiling breadth) and ch44 (GMP runtime internals). ch47 is the tooling that measures the runtime.
Gate
verify.luaPASS 16/0 (offline) ·scripts/validate.py→validate: OK·test-all-examples.py --only 47-go-toolbox→ 1 passed