]> Cypherpunks repositories - gostls13.git/commit
context: document that WithValue returns a derived context
authorIan Lance Taylor <iant@golang.org>
Sun, 18 Aug 2024 00:53:19 +0000 (17:53 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 3 Sep 2024 00:19:35 +0000 (00:19 +0000)
commita9e6a96ac092cc5191d759488ee761e9a403ab8f
tree8b57cb279929ce1b1646ed9133252b0261143d69
parentfc9f02c7aec81bcfcc95434d2529e0bb0bc03d66
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>
src/context/context.go