1
0
mirror of https://github.com/golang/go synced 2024-11-25 23:48:01 -07:00
go/src/context
Ian Lance Taylor a9e6a96ac0 context: document that WithValue returns a derived context
Also replace "copy of parent" with "derived context" in doc comments.

Fixes #68923

Change-Id: I319c1594f390e35b32b4e58ee979927bb84bfdf9
Reviewed-on: https://go-review.googlesource.com/c/go/+/606555
Reviewed-by: Sameer Ajmani <sameer@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Sameer Ajmani <sameer@golang.org>
Commit-Queue: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-09-03 00:19:35 +00:00
..
afterfunc_test.go context: avoid key collisions in test afterfunc map 2023-09-18 16:58:52 +00:00
benchmark_test.go
context_test.go
context.go context: document that WithValue returns a derived context 2024-09-03 00:19:35 +00:00
example_test.go context: fix synchronization in ExampleAfterFunc_cond 2023-08-21 20:24:28 +00:00
net_test.go
x_test.go context: handle nil values for valueCtx.String() 2024-07-10 02:44:20 +00:00