diff --git a/doc/go1.12.html b/doc/go1.12.html index fd1f1a1f4c..2591218eda 100644 --- a/doc/go1.12.html +++ b/doc/go1.12.html @@ -882,6 +882,12 @@ for { executing "tmpl" at <.very.deep.context.value.notpresent>: map has no entry for key "notpresent"

+
+

+ If a user-defined function called by a template panics, the + panic is now caught and returned as an error by + the Execute or ExecuteTemplate method. +

unsafe