The context package is a crucial feature of the Go programming language that provides a convenient way to manage cancellations, timeouts, and request-scoped data across API boundaries. In this talk, we will delve into the internal workings of the context package, examining the implementation of context types, the data structures used, and how it handles cancellations and deadlines to enable you to use it effectively in your applications and avoid common pitfalls and bad practices.
Session 🗣 Intermediate ⭐⭐ Track: Native Languages (Rust, Go lang, C++, C#, .Net, ...)
go
golang
internals