]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.2.txt: text/template's if-else
authorRob Pike <r@golang.org>
Thu, 29 Aug 2013 00:09:23 +0000 (10:09 +1000)
committerRob Pike <r@golang.org>
Thu, 29 Aug 2013 00:09:23 +0000 (10:09 +1000)
R=golang-dev, dsymonds
CC=golang-dev
https://golang.org/cl/13334043

doc/go1.2.txt

index d9252deb5cb2dbd46d2c85ac75cae0edd24857ca..455e6bdb3c09c4059f9be990bca0c034d5f9ff19 100644 (file)
@@ -72,6 +72,7 @@ testing: AllocsPerRun is now quantized to an integer (the type is still float64)
 testing: add TB interface (intersection of T and B's methods) (CL 12962043).
 text/template: add comparison functions (CL 13091045).
 text/template: dereference pointer values when evaluating args escape funcs (CL 13257043).
+text/template: allow {{else if ... }} to simplify if chains (CL 13327043).
 time: Allow Parse and Format to handle time zone offsets with seconds (CL 8132044)
 time: patterns require non-lowercase letter to follow Mon, Jan etc (CL 12448044).
 unicode: add In, a nicer-to-use but equivalent version of IsOneOf (CL 11672044).