mirror of
https://github.com/golang/go
synced 2024-09-04 23:44:16 +00:00
template: fixed documentation formatting
What was meant to be a list appeared as a paragraph with dashes. R=golang-dev, gri1, gri CC=golang-dev https://golang.org/cl/2100041
This commit is contained in:
parent
cb2730e60c
commit
825e0deece
|
@ -18,10 +18,11 @@
|
|||
indirection.
|
||||
|
||||
In the following, 'field' is one of several things, according to the data.
|
||||
- the name of a field of a struct (result = data.field)
|
||||
- the value stored in a map under that key (result = data[field])
|
||||
- the result of invoking a niladic single-valued method with that name
|
||||
(result = data.field())
|
||||
|
||||
- The name of a field of a struct (result = data.field),
|
||||
- The value stored in a map under that key (result = data[field]), or
|
||||
- The result of invoking a niladic single-valued method with that name
|
||||
(result = data.field())
|
||||
|
||||
Major constructs ({} are metacharacters; [] marks optional elements):
|
||||
|
||||
|
|
Loading…
Reference in a new issue