diff --git a/doc/effective_go.html b/doc/effective_go.html index b98235931c..7bb60a0786 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -1687,6 +1687,8 @@ map[CST:-21600 EST:-18000 MST:-25200 PST:-28800 UTC:0]
For maps, Printf and friends sort the output lexicographically by key.
+
When printing a struct, the modified format %+v annotates the
fields of the structure with their names, and for any value the alternate
format %#v prints the value in full Go syntax.