The hierarchial nature of Go context
Context is one of the most powerful constructs in Go, and this power originates from its hierarchical nature. As you know, whenever you create a new context, you always have to pass in a parent context. For example,
context.WithCancel(parent)
context...
blog.murtazau.xyz2 min read