Guest Posts: Hooking into the Go Toolchain
Summary
A deep dive into hooking into the Go toolchain using -toolexec wrappers, building a stopwatch, rewriting code, and instrumenting builds with OpenTelemetry via otelc. It covers practical experiments, cache considerations, and the limitations of toolchain source rewriting, culminating in a modern instrumentation workflow for Go projects.