mirror of
https://github.com/golang/go
synced 2024-11-26 03:27:58 -07:00
7f87b82955
This commit amends the package documentation for the context package
and links the https://go.dev/blog/context-and-structs where the package
documentation dissuades one against embedding a context into a struct.
This is to help close the gap in understanding why this otherwise
cryptic piece of guidance is provided. The other referenced blog
article now points to go.dev instead of golang.org.
Change-Id: I0844a57bde1c03b6dddd1dd2dab2d20557d791fb
GitHub-Last-Rev:
|
||
---|---|---|
.. | ||
afterfunc_test.go | ||
benchmark_test.go | ||
context_test.go | ||
context.go | ||
example_test.go | ||
net_test.go | ||
x_test.go |