June 2017
Intermediate to advanced
400 pages
10h 32m
English
Several recipes throughout this book make use of the context package. This recipe will explore the basics of creating and managing contexts. A good reference for understanding context is https://blog.golang.org/context. Since this blog post was written, context moved from net/context to a package called context. This still occasionally causes problems when interacting with third-party libraries such as GRPC. This recipe will explore setting and getting values for contexts, cancelation, and timeouts.
Read now
Unlock full access