mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +00:00
doc/go1.18: mention new go/types/Config.Context field
For #47694 For #47916 Change-Id: Ieeffaf161da744adfdb4da8aac58a64c109ebcab Reviewed-on: https://go-review.googlesource.com/c/go/+/373775 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
This commit is contained in:
parent
a1ce5503c7
commit
60f2c12a85
|
@ -669,7 +669,10 @@ Do not send CLs removing the interior tags from such phrases.
|
|||
<li><!-- CL 353089 -->
|
||||
The new type <a href="/pkg/go/types/#Context"><code>Context</code></a> and factory function
|
||||
<a href="/pkg/go/types/#NewContext"><code>NewContext</code></a>
|
||||
are added to facilitate sharing of identical type instances across type-checked packages.
|
||||
are added to facilitate sharing of identical type instances
|
||||
across type-checked packages, via the new
|
||||
<a href="/pkg/go/types/#Config.Context"><code>Config.Context</code></a>
|
||||
field.
|
||||
</li>
|
||||
</ul>
|
||||
</dd>
|
||||
|
|
Loading…
Reference in a new issue