mirror of
https://github.com/golang/go
synced 2024-11-25 10:07:56 -07:00
doc: float -> float64 in Effective Go template
R=r, dsymonds CC=golang-dev https://golang.org/cl/5530047
This commit is contained in:
parent
b7f44e97a3
commit
7478bb981a
@ -1490,7 +1490,7 @@ format <code>%#v</code> prints the value in full Go syntax.
|
|||||||
<pre>
|
<pre>
|
||||||
type T struct {
|
type T struct {
|
||||||
a int
|
a int
|
||||||
b float
|
b float64
|
||||||
c string
|
c string
|
||||||
}
|
}
|
||||||
t := &T{ 7, -2.35, "abc\tdef" }
|
t := &T{ 7, -2.35, "abc\tdef" }
|
||||||
|
Loading…
Reference in New Issue
Block a user