mirror of
https://github.com/golang/go
synced 2024-11-26 03:07:57 -07:00
encoding/json: clarify correct usage of struct tags in associated article.
Fixes #4297. R=golang-dev, gri CC=golang-dev https://golang.org/cl/6817045
This commit is contained in:
parent
3ead7fb5dc
commit
15e50d7c7a
@ -130,7 +130,7 @@ preference):
|
|||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
An exported field with a tag of <code>"Foo"</code> (see the
|
An exported field with a tag of <code>`json:"Foo"`</code> (see the
|
||||||
<a href="/ref/spec#Struct_types">Go spec</a> for more on struct tags),
|
<a href="/ref/spec#Struct_types">Go spec</a> for more on struct tags),
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
|
Loading…
Reference in New Issue
Block a user