venient registry to
load and cache templates on the fly concurrently.</p>
<p>It was created to assist the JSVM plugin HTML rendering, but could be used in other Go code.</p>
<p>Example:</p>
<pre><code><span class="hl-0"> </span><span class="hl-2">registry</span><span class="hl-0"> :</span><span class="hl-1">=</span><span class="hl-0"> template.</span><span class="hl-2">NewRegistry</span><span class="hl-0">()</span><br/><br/><span class="hl-0"> html1, </span><span class="hl-2">err</span><span class="hl-0"> :