<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Template - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/template/</link><description>Template - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Sun, 12 Jan 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/template/" rel="self" type="application/rss+xml"/><item><title>Golang 模板</title><link>https://rd163.visword.com/posts/golang-template/</link><pubDate>Sun, 12 Jan 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/golang-template/</guid><description><![CDATA[<h1 id="golang-模板" class="headerLink">
    <a href="#golang-%e6%a8%a1%e6%9d%bf" class="header-mark"></a>Golang 模板</h1><h2 id="标准库实现" class="headerLink">
    <a href="#%e6%a0%87%e5%87%86%e5%ba%93%e5%ae%9e%e7%8e%b0" class="header-mark"></a>标准库实现</h2><p>参考</p>
<ul>
<li><a href="https://www.cnblogs.com/f-ck-need-u/p/10053124.html" target="_blank" rel="noopener noreferrer">Go标准库：Go template用法详解 </a></li>
<li><a href="https://www.cnblogs.com/f-ck-need-u/p/10035768.html" target="_blank" rel="noopener noreferrer">Go标准库：深入剖析Go template </a></li>
</ul>
<p><strong>踩坑记录</strong></p>
<p>模板默认会对一些参数进行转义，因此渲染后的字符串可能与预期不符。</p>]]></description></item></channel></rss>