diff --git a/doc/go1.18.html b/doc/go1.18.html index 90bc0aa132..cea45542db 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -678,6 +678,17 @@ Do not send CLs removing the interior tags from such phrases. +
html/template
+
+

+ Within a range pipeline the new + {{break}} command will end the loop early and the + new {{continue}} command will immediately start the + next loop iteration. +

+
+
+
image/draw

@@ -907,6 +918,13 @@ Do not send CLs removing the interior tags from such phrases.

text/template
+

+ Within a range pipeline the new + {{break}} command will end the loop early and the + new {{continue}} command will immediately start the + next loop iteration. +

+

The and function no longer always evaluates all arguments; it stops evaluating arguments after the first argument that evaluates to @@ -917,6 +935,25 @@ Do not send CLs removing the interior tags from such phrases.

+
text/template/parse
+
+

+ The package supports the new + text/template and + html/template + {{break}} command via the new constant + NodeBreak + and the new type + BreakNode, + and similarly supports the new {{continue}} command + via the new constant + NodeContinue + and the new type + ContinueNode. +

+
+
+
unicode/utf8