GopherCon 2024: Implementing Code Coverage with -toolexec - Ehden Sinai @GopherAcademy
GopherCon 2024: Implementing Code Coverage with -toolexec - Ehden Sinai  @GopherAcademy
Uploaded December 2024 | Updated December 2026, 3 days ago
Why should you use my custom code coverage tool? You shouldn’t; the one built into Go is great and you should just use that. However, writing our own from scratch is a great way to pull back the curtain on a widely used feature of the Go toolchain, and we can learn a lot from doing it. This talk will blitz through how Go’s -cover flag works, what Go does when you tell it to build a program, and how we can use -toolexec to edit builds and add our own basic instrumentation. This will be a quick introduction to some of the inner workings of the build tool we all know and love, and I hope to leave you with the desire and confidence to try to explore it on your own.
GopherCon 2024: Implementing Code Coverage with -toolexec - Ehden SinaiGopherCon 2021: Making an Image Recognition Application in Go - Kevin SiendeGopherCon 2022: Look Ma, No Ports! - Alan ShreveGopherCon 2023: Leveraging Protobuf Schemas in Kafka with Go - Akshay ShahGopherCon 2023: High-Assurance Go Cryptography - Filippo ValsordaGopherCon 2023: Integration Tests: Writing Good Automated Tests - Henrique VicenteGopherCon 2025: Supercharging ML Pipelines with Go - Vaidehi TheteGopherCon 2021: Get Started Building GUIs using Fyne - Andrew WilliamsGopherCon 2023: Halloween Spooktacular: Fog Machine Madness - James HellerGopherCon 2023: Vulnerability Management for Go - Julie QiuGopherCon 2024: Miles to Go: Golang for Competitive Programming? - Jacob HochstetlerGopherCon 2024: Parquet, Go, and Unreasonable Amounts of SIMD - Achille Roussel
Gopher Academy |

GopherCon 2024: Implementing Code Coverage with -toolexec - Ehden Sinai

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER