mirror of
https://github.com/golang/go
synced 2024-11-26 02:17:58 -07:00
doc/go1.16: add link to reflect.StructTag
For #40700. Change-Id: I67dd55b435304e428929c9a54b8881f9b78efdfb Reviewed-on: https://go-review.googlesource.com/c/go/+/278392 Trust: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
08b5091d03
commit
75e16f5127
@ -865,9 +865,10 @@ func TestFoo(t *testing.T) {
|
||||
<dl id="reflect"><dt><a href="/pkg/reflect/">reflect</a></dt>
|
||||
<dd>
|
||||
<p><!-- CL 248341, golang.org/issues/40281 -->
|
||||
<code>StructTag</code> now allows multiple space-separated keys
|
||||
in key:value pairs, as in <code>`json xml:"field1"`</code>
|
||||
(equivalent to <code>`json:"field1" xml:"field1"`</code>).
|
||||
<a href="/pkg/reflect/#StructTag"><code>StructTag</code></a>
|
||||
now allows multiple space-separated keys in key:value pairs,
|
||||
as in <code>`json xml:"field1"`</code> (equivalent to
|
||||
<code>`json:"field1" xml:"field1"`</code>).
|
||||
</p>
|
||||
</dd>
|
||||
</dl><!-- reflect -->
|
||||
|
Loading…
Reference in New Issue
Block a user