summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-05-02 06:47:07 +0900
committernsfisis <nsfisis@gmail.com>2025-05-02 06:47:07 +0900
commit09b8483ed67d3b85e983ef86c34260081975e1cb (patch)
tree724871a9c2db964fca535e1d1fc644325b1edda3 /vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range
parent742ee8ed6d300318089b6ae050dc123a88c85b4a (diff)
downloadnsfisis.dev-09b8483ed67d3b85e983ef86c34260081975e1cb.tar.gz
nsfisis.dev-09b8483ed67d3b85e983ef86c34260081975e1cb.tar.zst
nsfisis.dev-09b8483ed67d3b85e983ef86c34260081975e1cb.zip
fix(blog/nuldoc): remove unnecessary "language" attribute
Diffstat (limited to 'vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range')
-rw-r--r--vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html b/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html
index 82f0e1bb..93c46c85 100644
--- a/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html
+++ b/vhosts/blog/public/posts/2024-08-19/go-template-access-outer-scope-pipeline-within-with-or-range/index.html
@@ -92,7 +92,7 @@
<p>
つまりこのテンプレートは、次のような構造をレンダリングしている (<code>Execute()</code> の第2引数)。
</p>
- <div class="codeblock" language="go">
+ <div class="codeblock">
<pre class="shiki github-light" style="background-color:#f5f5f5;color:#24292e" tabindex="0"><code><span class="line"><span style="color:#24292E">tmpl.</span><span style="color:#6F42C1">Execute</span><span style="color:#24292E">(out, </span><span style="color:#6F42C1">Params</span><span style="color:#24292E">{</span></span>
<span class="line"><span style="color:#24292E"> Title: </span><span style="color:#032F62">"foo"</span><span style="color:#24292E">,</span></span>
<span class="line"><span style="color:#24292E"> User: </span><span style="color:#6F42C1">User</span><span style="color:#24292E">{</span></span>