<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Mohuishou</title>
  
  <subtitle>A New Life</subtitle>
  <link href="/atom.xml" rel="self"/>
  
  <link href="https://lailin.xyz/"/>
  <updated>2025-09-08T07:05:49.228Z</updated>
  <id>https://lailin.xyz/</id>
  
  <author>
    <name>Mohuishou</name>
    
  </author>
  
  <generator uri="http://hexo.io/">Hexo</generator>
  
  <entry>
    <title>如何实现支持多集群的 Kubernetes Operator?</title>
    <link href="https://lailin.xyz/post/multi-cluster-operator.html"/>
    <id>https://lailin.xyz/post/multi-cluster-operator.html</id>
    <published>2022-11-22T03:55:46.000Z</published>
    <updated>2025-09-08T07:05:49.228Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
      <category term="operator" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/operator/"/>
    
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="operator" scheme="https://lailin.xyz/tags/operator/"/>
    
      <category term="kubebuilder" scheme="https://lailin.xyz/tags/kubebuilder/"/>
    
  </entry>
  
  <entry>
    <title>第三方应用如何调用我们 kubebuilder 生成的自定义资源?</title>
    <link href="https://lailin.xyz/post/operator-kubebuilder-clientset.html"/>
    <id>https://lailin.xyz/post/operator-kubebuilder-clientset.html</id>
    <published>2022-11-16T03:52:00.000Z</published>
    <updated>2025-09-08T07:05:49.228Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
      <category term="operator" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/operator/"/>
    
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="kubebuilder" scheme="https://lailin.xyz/tags/kubebuilder/"/>
    
  </entry>
  
  <entry>
    <title>Kubernetes 简明教程</title>
    <link href="https://lailin.xyz/post/k8s-tutorials.html"/>
    <id>https://lailin.xyz/post/k8s-tutorials.html</id>
    <published>2022-11-06T14:02:36.000Z</published>
    <updated>2025-09-08T07:05:49.228Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
  </entry>
  
  <entry>
    <title>k8s job 为何迟迟不能结束？</title>
    <link href="https://lailin.xyz/post/kubernetes-job-running-not-end.html"/>
    <id>https://lailin.xyz/post/kubernetes-job-running-not-end.html</id>
    <published>2022-09-09T16:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.227Z</updated>
    
    <summary type="html">
    
      本应该执行一次就结束的 job 为何被执行了超过 50 次？
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="源码分析" scheme="https://lailin.xyz/tags/%E6%BA%90%E7%A0%81%E5%88%86%E6%9E%90/"/>
    
  </entry>
  
  <entry>
    <title>Go 工程化(十一) 如何优雅的写出 repo  层代码</title>
    <link href="https://lailin.xyz/post/graceful-repo-code.html"/>
    <id>https://lailin.xyz/post/graceful-repo-code.html</id>
    <published>2021-12-26T16:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.227Z</updated>
    
    <summary type="html">
    
      上篇文章中我们提到了事务的几种解决方案，可以避免在 repo 中写很多不同事务的方法，这篇我们看一下怎么让 repo 层的代码看起来优雅一点
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week04: Go 工程化" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week04-Go-%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="工程实践" scheme="https://lailin.xyz/tags/%E5%B7%A5%E7%A8%8B%E5%AE%9E%E8%B7%B5/"/>
    
      <category term="工程化" scheme="https://lailin.xyz/tags/%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
  </entry>
  
  <entry>
    <title>Go 工程化(十) 如何在整洁架构中使用事务?</title>
    <link href="https://lailin.xyz/post/clean-arch-transaction.html"/>
    <id>https://lailin.xyz/post/clean-arch-transaction.html</id>
    <published>2021-12-23T16:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.227Z</updated>
    
    <summary type="html">
    
      在上半年工程化相关的文章当中提到了我最终选用的基于整洁架构的项目目录结构，但是事务问题一直没有比较清晰的思路，今天和大家分享一些不成熟的小建议
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week04: Go 工程化" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week04-Go-%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="工程实践" scheme="https://lailin.xyz/tags/%E5%B7%A5%E7%A8%8B%E5%AE%9E%E8%B7%B5/"/>
    
  </entry>
  
  <entry>
    <title>给博客添加章节目录</title>
    <link href="https://lailin.xyz/post/add-catefories-sidebar-in-blog.html"/>
    <id>https://lailin.xyz/post/add-catefories-sidebar-in-blog.html</id>
    <published>2021-12-20T16:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.227Z</updated>
    
    <summary type="html">
    
      已经好几个读者朋友咨询过博客左侧的章节导航栏是怎么来的了，挤了点时间，整理了一下之前写的代码，现在大家可以直接使用了
    
    </summary>
    
      <category term="博客折腾手册" scheme="https://lailin.xyz/categories/%E5%8D%9A%E5%AE%A2%E6%8A%98%E8%85%BE%E6%89%8B%E5%86%8C/"/>
    
    
      <category term="blog" scheme="https://lailin.xyz/tags/blog/"/>
    
      <category term="hexo" scheme="https://lailin.xyz/tags/hexo/"/>
    
  </entry>
  
  <entry>
    <title>使用 Notion Database 管理静态博客文章</title>
    <link href="https://lailin.xyz/post/notion-markdown-blog.html"/>
    <id>https://lailin.xyz/post/notion-markdown-blog.html</id>
    <published>2021-12-19T16:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.227Z</updated>
    
    <summary type="html">
    
      当博客文章变多了之后就发现，放在 hexo 的本地文件夹中管理就有些力不从心了
    
    </summary>
    
      <category term="博客折腾手册" scheme="https://lailin.xyz/categories/%E5%8D%9A%E5%AE%A2%E6%8A%98%E8%85%BE%E6%89%8B%E5%86%8C/"/>
    
    
      <category term="blog" scheme="https://lailin.xyz/tags/blog/"/>
    
      <category term="hexo" scheme="https://lailin.xyz/tags/hexo/"/>
    
      <category term="notion" scheme="https://lailin.xyz/tags/notion/"/>
    
  </entry>
  
  <entry>
    <title>一个普通 Go 开发的三年</title>
    <link href="https://lailin.xyz/post/3-years-summary.html"/>
    <id>https://lailin.xyz/post/3-years-summary.html</id>
    <published>2021-07-13T07:59:31.000Z</published>
    <updated>2025-09-08T07:05:49.228Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="总结" scheme="https://lailin.xyz/categories/%E6%80%BB%E7%BB%93/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="总结" scheme="https://lailin.xyz/tags/%E6%80%BB%E7%BB%93/"/>
    
      <category term="学习方法" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E6%96%B9%E6%B3%95/"/>
    
  </entry>
  
  <entry>
    <title>4. localhost 就一定是 localhost 么?</title>
    <link href="https://lailin.xyz/post/localhost.html"/>
    <id>https://lailin.xyz/post/localhost.html</id>
    <published>2021-06-15T06:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.228Z</updated>
    
    <summary type="html">
    
      这是由 localhost 域名被注册引发的血案
    
    </summary>
    
      <category term="事故现场" scheme="https://lailin.xyz/categories/%E4%BA%8B%E6%95%85%E7%8E%B0%E5%9C%BA/"/>
    
      <category term="2021" scheme="https://lailin.xyz/categories/%E4%BA%8B%E6%95%85%E7%8E%B0%E5%9C%BA/2021/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="事故现场" scheme="https://lailin.xyz/tags/%E4%BA%8B%E6%95%85%E7%8E%B0%E5%9C%BA/"/>
    
      <category term="localhost" scheme="https://lailin.xyz/tags/localhost/"/>
    
  </entry>
  
  <entry>
    <title>Go可用性(七) 总结: 一张图串联可用性知识点</title>
    <link href="https://lailin.xyz/post/go-training-week6-7-summary.html"/>
    <id>https://lailin.xyz/post/go-training-week6-7-summary.html</id>
    <published>2021-05-25T17:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.224Z</updated>
    
    <summary type="html">
    
      关于可用性还有很多没有讲到，但是课程上讲的比较清楚了，前面的文章主要是总结了和限流相关的知识点，今天我们就把之前总结到了的和没总结到的部分一起串联起来看一看
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week06: 微服务可用性设计" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week06-%E5%BE%AE%E6%9C%8D%E5%8A%A1%E5%8F%AF%E7%94%A8%E6%80%A7%E8%AE%BE%E8%AE%A1/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="4、总结" scheme="https://lailin.xyz/tags/4%E3%80%81%E6%80%BB%E7%BB%93/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="微服务" scheme="https://lailin.xyz/tags/%E5%BE%AE%E6%9C%8D%E5%8A%A1/"/>
    
      <category term="可用性" scheme="https://lailin.xyz/tags/%E5%8F%AF%E7%94%A8%E6%80%A7/"/>
    
  </entry>
  
  <entry>
    <title>Go可用性(六) 熔断</title>
    <link href="https://lailin.xyz/post/go-training-week6-6-breaker.html"/>
    <id>https://lailin.xyz/post/go-training-week6-6-breaker.html</id>
    <published>2021-05-23T17:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.224Z</updated>
    
    <summary type="html">
    
      流量洪峰来临时，没有任何一个组件可以独善其身
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week06: 微服务可用性设计" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week06-%E5%BE%AE%E6%9C%8D%E5%8A%A1%E5%8F%AF%E7%94%A8%E6%80%A7%E8%AE%BE%E8%AE%A1/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="微服务" scheme="https://lailin.xyz/tags/%E5%BE%AE%E6%9C%8D%E5%8A%A1/"/>
    
      <category term="可用性" scheme="https://lailin.xyz/tags/%E5%8F%AF%E7%94%A8%E6%80%A7/"/>
    
      <category term="过载保护" scheme="https://lailin.xyz/tags/%E8%BF%87%E8%BD%BD%E4%BF%9D%E6%8A%A4/"/>
    
      <category term="限流" scheme="https://lailin.xyz/tags/%E9%99%90%E6%B5%81/"/>
    
      <category term="熔断" scheme="https://lailin.xyz/tags/%E7%86%94%E6%96%AD/"/>
    
  </entry>
  
  <entry>
    <title>10. 总结</title>
    <link href="https://lailin.xyz/post/operator-11-summary.html"/>
    <id>https://lailin.xyz/post/operator-11-summary.html</id>
    <published>2021-05-17T17:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.225Z</updated>
    
    <summary type="html">
    
      这是本系列的最后一篇文章了，做一个简单的总结吧
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
      <category term="operator" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/operator/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="operator" scheme="https://lailin.xyz/tags/operator/"/>
    
      <category term="kubernetes" scheme="https://lailin.xyz/tags/kubernetes/"/>
    
      <category term="kubebuilder" scheme="https://lailin.xyz/tags/kubebuilder/"/>
    
  </entry>
  
  <entry>
    <title>9. kubebuilder 进阶: 源码分析</title>
    <link href="https://lailin.xyz/post/operator-09-kubebuilder-code.html"/>
    <id>https://lailin.xyz/post/operator-09-kubebuilder-code.html</id>
    <published>2021-05-16T17:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.225Z</updated>
    
    <summary type="html">
    
      知其然也知其所以然，kubebuilder 在背后悄悄的做了哪些事情？
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
      <category term="operator" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/operator/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="operator" scheme="https://lailin.xyz/tags/operator/"/>
    
      <category term="kubernetes" scheme="https://lailin.xyz/tags/kubernetes/"/>
    
      <category term="kubebuilder" scheme="https://lailin.xyz/tags/kubebuilder/"/>
    
  </entry>
  
  <entry>
    <title>8. kubebuilder 进阶: webhook</title>
    <link href="https://lailin.xyz/post/operator-08-kubebuilder-webhook.html"/>
    <id>https://lailin.xyz/post/operator-08-kubebuilder-webhook.html</id>
    <published>2021-05-13T17:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.225Z</updated>
    
    <summary type="html">
    
      创建或者删除资源的时候需要对资源进行一些检查的操作，如果校验不成功就不通过。或者是需要在完成实际的创建之前做一些其他操作，这些需求如何实现？
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
      <category term="operator" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/operator/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="operator" scheme="https://lailin.xyz/tags/operator/"/>
    
      <category term="kubernetes" scheme="https://lailin.xyz/tags/kubernetes/"/>
    
      <category term="kubebuilder" scheme="https://lailin.xyz/tags/kubebuilder/"/>
    
      <category term="webhook" scheme="https://lailin.xyz/tags/webhook/"/>
    
  </entry>
  
  <entry>
    <title>7. kubebuilder 进阶: 测试</title>
    <link href="https://lailin.xyz/post/operator-07-kubebuilder-test.html"/>
    <id>https://lailin.xyz/post/operator-07-kubebuilder-test.html</id>
    <published>2021-05-12T17:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.225Z</updated>
    
    <summary type="html">
    
      Operator 的测试是一个比较头疼的问题，在 kubernetes 资源是在不断变化的，并且想要在测试的时候跑一整套的 kubernetes 环境也不是一件容易的事情，今天我们大概看一下单元测试和集成测试怎么做。
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
      <category term="operator" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/operator/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="operator" scheme="https://lailin.xyz/tags/operator/"/>
    
      <category term="kubernetes" scheme="https://lailin.xyz/tags/kubernetes/"/>
    
      <category term="kubebuilder" scheme="https://lailin.xyz/tags/kubebuilder/"/>
    
      <category term="测试" scheme="https://lailin.xyz/tags/%E6%B5%8B%E8%AF%95/"/>
    
  </entry>
  
  <entry>
    <title>6. kubebuilder 实战: status &amp; event</title>
    <link href="https://lailin.xyz/post/operator-06-kubebuilder-status-and-event.html"/>
    <id>https://lailin.xyz/post/operator-06-kubebuilder-status-and-event.html</id>
    <published>2021-05-11T17:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.225Z</updated>
    
    <summary type="html">
    
      如何给我们的 Operator 添加状态和事件信息，快速排查问题?
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
      <category term="operator" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/operator/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="operator" scheme="https://lailin.xyz/tags/operator/"/>
    
      <category term="kubernetes" scheme="https://lailin.xyz/tags/kubernetes/"/>
    
      <category term="kubebuilder" scheme="https://lailin.xyz/tags/kubebuilder/"/>
    
  </entry>
  
  <entry>
    <title>5. kubebuilder 实战: CRUD</title>
    <link href="https://lailin.xyz/post/operator-05-kubebuilder-crud.html"/>
    <id>https://lailin.xyz/post/operator-05-kubebuilder-crud.html</id>
    <published>2021-05-10T17:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.225Z</updated>
    
    <summary type="html">
    
      今天就从我之前遇到的一个真实需求出发完整的写一个 Operator
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
      <category term="operator" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/operator/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="operator" scheme="https://lailin.xyz/tags/operator/"/>
    
      <category term="kubernetes" scheme="https://lailin.xyz/tags/kubernetes/"/>
    
      <category term="kubebuilder" scheme="https://lailin.xyz/tags/kubebuilder/"/>
    
  </entry>
  
  <entry>
    <title>4. kustomize 简明教程</title>
    <link href="https://lailin.xyz/post/operator-04-kustomize-tutorial.html"/>
    <id>https://lailin.xyz/post/operator-04-kustomize-tutorial.html</id>
    <published>2021-05-09T17:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.225Z</updated>
    
    <summary type="html">
    
      makefile 当中大量存在了 kustomize 这样的命令，kustomizeb是什么，有什么用，怎么用？今天我们就一起来学习一下，在后续的文章当中，我们还会用到一些 kustomize 特性来部署不同的环境。
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
      <category term="operator" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/operator/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="operator" scheme="https://lailin.xyz/tags/operator/"/>
    
      <category term="云原生" scheme="https://lailin.xyz/tags/%E4%BA%91%E5%8E%9F%E7%94%9F/"/>
    
      <category term="kubernetes" scheme="https://lailin.xyz/tags/kubernetes/"/>
    
      <category term="kustomize" scheme="https://lailin.xyz/tags/kustomize/"/>
    
  </entry>
  
  <entry>
    <title>3. KubeBuilder 简明教程</title>
    <link href="https://lailin.xyz/post/operator-03-kubebuilder-tutorial.html"/>
    <id>https://lailin.xyz/post/operator-03-kubebuilder-tutorial.html</id>
    <published>2021-05-07T17:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.224Z</updated>
    
    <summary type="html">
    
      kubebuilder 是什么？如何使用 kubebuilder 快速创建一个 Operator？
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
      <category term="operator" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/operator/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="operator" scheme="https://lailin.xyz/tags/operator/"/>
    
      <category term="云原生" scheme="https://lailin.xyz/tags/%E4%BA%91%E5%8E%9F%E7%94%9F/"/>
    
      <category term="kubernetes" scheme="https://lailin.xyz/tags/kubernetes/"/>
    
      <category term="kubebuilder" scheme="https://lailin.xyz/tags/kubebuilder/"/>
    
  </entry>
  
  <entry>
    <title>2. Kind: 如何快速搭建本地 K8s 开发环境？</title>
    <link href="https://lailin.xyz/post/operator-02-use-kind-create-k8s-local-cluster.html"/>
    <id>https://lailin.xyz/post/operator-02-use-kind-create-k8s-local-cluster.html</id>
    <published>2021-05-06T17:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.224Z</updated>
    
    <summary type="html">
    
      10 分钟搭建一个本地 k8s 开发环境
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
      <category term="operator" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/operator/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="云原生" scheme="https://lailin.xyz/tags/%E4%BA%91%E5%8E%9F%E7%94%9F/"/>
    
      <category term="kubernetes" scheme="https://lailin.xyz/tags/kubernetes/"/>
    
      <category term="kind" scheme="https://lailin.xyz/tags/kind/"/>
    
  </entry>
  
  <entry>
    <title>1. Operator概述: 如何对 Kubernetes 进行扩展</title>
    <link href="https://lailin.xyz/post/operator-01-overview.html"/>
    <id>https://lailin.xyz/post/operator-01-overview.html</id>
    <published>2021-05-05T17:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.224Z</updated>
    
    <summary type="html">
    
      如何对 Kubernetes 进行扩展?
    
    </summary>
    
      <category term="kubernetes 系列" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/"/>
    
      <category term="operator" scheme="https://lailin.xyz/categories/kubernetes-%E7%B3%BB%E5%88%97/operator/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="k8s" scheme="https://lailin.xyz/tags/k8s/"/>
    
      <category term="Kubernetes" scheme="https://lailin.xyz/tags/Kubernetes/"/>
    
      <category term="operator" scheme="https://lailin.xyz/tags/operator/"/>
    
      <category term="概念" scheme="https://lailin.xyz/tags/%E6%A6%82%E5%BF%B5/"/>
    
      <category term="云原生" scheme="https://lailin.xyz/tags/%E4%BA%91%E5%8E%9F%E7%94%9F/"/>
    
  </entry>
  
  <entry>
    <title>Go可用性(五) 自适应限流</title>
    <link href="https://lailin.xyz/post/go-training-week6-4-auto-limiter.html"/>
    <id>https://lailin.xyz/post/go-training-week6-4-auto-limiter.html</id>
    <published>2021-04-12T05:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.224Z</updated>
    
    <summary type="html">
    
      什么？机器都快挂了，限流竟然还没触发？
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week06: 微服务可用性设计" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week06-%E5%BE%AE%E6%9C%8D%E5%8A%A1%E5%8F%AF%E7%94%A8%E6%80%A7%E8%AE%BE%E8%AE%A1/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="微服务" scheme="https://lailin.xyz/tags/%E5%BE%AE%E6%9C%8D%E5%8A%A1/"/>
    
      <category term="可用性" scheme="https://lailin.xyz/tags/%E5%8F%AF%E7%94%A8%E6%80%A7/"/>
    
      <category term="过载保护" scheme="https://lailin.xyz/tags/%E8%BF%87%E8%BD%BD%E4%BF%9D%E6%8A%A4/"/>
    
      <category term="限流" scheme="https://lailin.xyz/tags/%E9%99%90%E6%B5%81/"/>
    
      <category term="令牌桶" scheme="https://lailin.xyz/tags/%E4%BB%A4%E7%89%8C%E6%A1%B6/"/>
    
  </entry>
  
  <entry>
    <title>Go可用性(四) 漏桶算法</title>
    <link href="https://lailin.xyz/post/go-training-week6-4-leaky-bucket.html"/>
    <id>https://lailin.xyz/post/go-training-week6-4-leaky-bucket.html</id>
    <published>2021-04-07T05:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.224Z</updated>
    
    <summary type="html">
    
      10 行代码实现一个基于漏桶算法的 ip 限流中间件
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week06: 微服务可用性设计" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week06-%E5%BE%AE%E6%9C%8D%E5%8A%A1%E5%8F%AF%E7%94%A8%E6%80%A7%E8%AE%BE%E8%AE%A1/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="微服务" scheme="https://lailin.xyz/tags/%E5%BE%AE%E6%9C%8D%E5%8A%A1/"/>
    
      <category term="可用性" scheme="https://lailin.xyz/tags/%E5%8F%AF%E7%94%A8%E6%80%A7/"/>
    
      <category term="过载保护" scheme="https://lailin.xyz/tags/%E8%BF%87%E8%BD%BD%E4%BF%9D%E6%8A%A4/"/>
    
      <category term="限流" scheme="https://lailin.xyz/tags/%E9%99%90%E6%B5%81/"/>
    
      <category term="令牌桶" scheme="https://lailin.xyz/tags/%E4%BB%A4%E7%89%8C%E6%A1%B6/"/>
    
  </entry>
  
  <entry>
    <title>Go可用性(三) 令牌桶的实现 rate/limt</title>
    <link href="https://lailin.xyz/post/go-training-week6-3-token-bucket-2.html"/>
    <id>https://lailin.xyz/post/go-training-week6-3-token-bucket-2.html</id>
    <published>2021-04-01T05:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.224Z</updated>
    
    <summary type="html">
    
      看看源码
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week06: 微服务可用性设计" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week06-%E5%BE%AE%E6%9C%8D%E5%8A%A1%E5%8F%AF%E7%94%A8%E6%80%A7%E8%AE%BE%E8%AE%A1/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="微服务" scheme="https://lailin.xyz/tags/%E5%BE%AE%E6%9C%8D%E5%8A%A1/"/>
    
      <category term="可用性" scheme="https://lailin.xyz/tags/%E5%8F%AF%E7%94%A8%E6%80%A7/"/>
    
      <category term="过载保护" scheme="https://lailin.xyz/tags/%E8%BF%87%E8%BD%BD%E4%BF%9D%E6%8A%A4/"/>
    
      <category term="限流" scheme="https://lailin.xyz/tags/%E9%99%90%E6%B5%81/"/>
    
      <category term="令牌桶" scheme="https://lailin.xyz/tags/%E4%BB%A4%E7%89%8C%E6%A1%B6/"/>
    
  </entry>
  
  <entry>
    <title>Go可用性(二) 令牌桶原理及使用</title>
    <link href="https://lailin.xyz/post/go-training-week6-2-token-bucket-1.html"/>
    <id>https://lailin.xyz/post/go-training-week6-2-token-bucket-1.html</id>
    <published>2021-03-28T16:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.224Z</updated>
    
    <summary type="html">
    
      10行左右代码实现一个基于 ip 的 gin 限流中间件
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week06: 微服务可用性设计" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week06-%E5%BE%AE%E6%9C%8D%E5%8A%A1%E5%8F%AF%E7%94%A8%E6%80%A7%E8%AE%BE%E8%AE%A1/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="微服务" scheme="https://lailin.xyz/tags/%E5%BE%AE%E6%9C%8D%E5%8A%A1/"/>
    
      <category term="可用性" scheme="https://lailin.xyz/tags/%E5%8F%AF%E7%94%A8%E6%80%A7/"/>
    
      <category term="过载保护" scheme="https://lailin.xyz/tags/%E8%BF%87%E8%BD%BD%E4%BF%9D%E6%8A%A4/"/>
    
      <category term="限流" scheme="https://lailin.xyz/tags/%E9%99%90%E6%B5%81/"/>
    
      <category term="令牌桶" scheme="https://lailin.xyz/tags/%E4%BB%A4%E7%89%8C%E6%A1%B6/"/>
    
  </entry>
  
  <entry>
    <title>Go可用性(一) 隔离设计</title>
    <link href="https://lailin.xyz/post/go-training-week6-usability-1-bulkhe.html"/>
    <id>https://lailin.xyz/post/go-training-week6-usability-1-bulkhe.html</id>
    <published>2021-03-25T08:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.224Z</updated>
    
    <summary type="html">
    
      泰坦尼克号是如何沉没的
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week06: 微服务可用性设计" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week06-%E5%BE%AE%E6%9C%8D%E5%8A%A1%E5%8F%AF%E7%94%A8%E6%80%A7%E8%AE%BE%E8%AE%A1/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="微服务" scheme="https://lailin.xyz/tags/%E5%BE%AE%E6%9C%8D%E5%8A%A1/"/>
    
      <category term="可用性" scheme="https://lailin.xyz/tags/%E5%8F%AF%E7%94%A8%E6%80%A7/"/>
    
  </entry>
  
  <entry>
    <title>Go并发编程(十二) Singleflight</title>
    <link href="https://lailin.xyz/post/go-training-week5-singleflight.html"/>
    <id>https://lailin.xyz/post/go-training-week5-singleflight.html</id>
    <published>2021-03-21T17:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.222Z</updated>
    
    <summary type="html">
    
      一起来看看 singleflight 的使用场景、说明、源码分析以及注意事项
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week03: Go 并发编程" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week03-Go-%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="并发" scheme="https://lailin.xyz/tags/%E5%B9%B6%E5%8F%91/"/>
    
  </entry>
  
  <entry>
    <title>Go工程化(九) 项目重构实践</title>
    <link href="https://lailin.xyz/post/go-training-week4-practice.html"/>
    <id>https://lailin.xyz/post/go-training-week4-practice.html</id>
    <published>2021-03-11T05:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.223Z</updated>
    
    <summary type="html">
    
      这是《Go 工程化》系列的最后一篇文章了, 不知道大家听完毛老师的课程或者看完我之前的哪些文章有没有进行过一些尝试，本文就会从一个“真实”的项目重构的案例来一步一步的介绍我趟过的那些坑，希望可以对大家有所启发。
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week04: Go 工程化" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week04-Go-%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="工程化" scheme="https://lailin.xyz/tags/%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
  </entry>
  
  <entry>
    <title>Go工程化(八) 单元测试</title>
    <link href="https://lailin.xyz/post/go-training-week4-unit-test.html"/>
    <id>https://lailin.xyz/post/go-training-week4-unit-test.html</id>
    <published>2021-03-09T02:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.223Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week04: Go 工程化" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week04-Go-%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="工程化" scheme="https://lailin.xyz/tags/%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
      <category term="单元测试" scheme="https://lailin.xyz/tags/%E5%8D%95%E5%85%83%E6%B5%8B%E8%AF%95/"/>
    
  </entry>
  
  <entry>
    <title>Go工程化(七) Go Module</title>
    <link href="https://lailin.xyz/post/go-training-week4-go-module.html"/>
    <id>https://lailin.xyz/post/go-training-week4-go-module.html</id>
    <published>2021-03-06T16:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.223Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week04: Go 工程化" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week04-Go-%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="工程化" scheme="https://lailin.xyz/tags/%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
  </entry>
  
  <entry>
    <title>Go工程化(六) 配置管理</title>
    <link href="https://lailin.xyz/post/go-training-week4-config.html"/>
    <id>https://lailin.xyz/post/go-training-week4-config.html</id>
    <published>2021-03-04T16:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.223Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week04: Go 工程化" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week04-Go-%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="工程化" scheme="https://lailin.xyz/tags/%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
  </entry>
  
  <entry>
    <title>Go工程化(五) API 设计下: 基于 protobuf 自动生成 gin 代码</title>
    <link href="https://lailin.xyz/post/go-training-week4-protoc-gen-go-gin.html"/>
    <id>https://lailin.xyz/post/go-training-week4-protoc-gen-go-gin.html</id>
    <published>2021-03-02T16:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.223Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week04: Go 工程化" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week04-Go-%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="工程化" scheme="https://lailin.xyz/tags/%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
  </entry>
  
  <entry>
    <title>Go工程化(四) API 设计上: 项目结构 &amp; 设计</title>
    <link href="https://lailin.xyz/post/go-training-week4-api-design.html"/>
    <id>https://lailin.xyz/post/go-training-week4-api-design.html</id>
    <published>2021-03-01T01:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.223Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week04: Go 工程化" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week04-Go-%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="工程化" scheme="https://lailin.xyz/tags/%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
  </entry>
  
  <entry>
    <title>Go工程化(三) 依赖注入框架 wire</title>
    <link href="https://lailin.xyz/post/go-training-week4-wire.html"/>
    <id>https://lailin.xyz/post/go-training-week4-wire.html</id>
    <published>2021-02-22T05:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.224Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week04: Go 工程化" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week04-Go-%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="工程化" scheme="https://lailin.xyz/tags/%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
  </entry>
  
  <entry>
    <title>Go工程化(二) 项目目录结构</title>
    <link href="https://lailin.xyz/post/go-training-week4-project-layout.html"/>
    <id>https://lailin.xyz/post/go-training-week4-project-layout.html</id>
    <published>2021-02-06T05:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.223Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week04: Go 工程化" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week04-Go-%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="工程化" scheme="https://lailin.xyz/tags/%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
  </entry>
  
  <entry>
    <title>Go工程化(一) 架构整洁之道阅读笔记</title>
    <link href="https://lailin.xyz/post/go-training-week4-clean-arch.html"/>
    <id>https://lailin.xyz/post/go-training-week4-clean-arch.html</id>
    <published>2021-01-26T06:12:03.000Z</published>
    <updated>2025-09-08T07:05:49.223Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week04: Go 工程化" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week04-Go-%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="工程化" scheme="https://lailin.xyz/tags/%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
    
      <category term="读书笔记" scheme="https://lailin.xyz/tags/%E8%AF%BB%E4%B9%A6%E7%AC%94%E8%AE%B0/"/>
    
      <category term="架构" scheme="https://lailin.xyz/tags/%E6%9E%B6%E6%9E%84/"/>
    
  </entry>
  
  <entry>
    <title>Go并发编程(十一) 总结</title>
    <link href="https://lailin.xyz/post/go-training-week3-sum.html"/>
    <id>https://lailin.xyz/post/go-training-week3-sum.html</id>
    <published>2021-01-15T15:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.222Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week03: Go 并发编程" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week03-Go-%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="并发" scheme="https://lailin.xyz/tags/%E5%B9%B6%E5%8F%91/"/>
    
  </entry>
  
  <entry>
    <title>Go并发编程(十) 深入理解 Channel</title>
    <link href="https://lailin.xyz/post/go-training-week3-channel.html"/>
    <id>https://lailin.xyz/post/go-training-week3-channel.html</id>
    <published>2021-01-14T15:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.222Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week03: Go 并发编程" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week03-Go-%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="并发" scheme="https://lailin.xyz/tags/%E5%B9%B6%E5%8F%91/"/>
    
      <category term="channel" scheme="https://lailin.xyz/tags/channel/"/>
    
  </entry>
  
  <entry>
    <title>Go并发编程(九) 深入理解 Context</title>
    <link href="https://lailin.xyz/post/go-training-week3-context.html"/>
    <id>https://lailin.xyz/post/go-training-week3-context.html</id>
    <published>2021-01-08T15:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.222Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week03: Go 并发编程" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week03-Go-%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="并发" scheme="https://lailin.xyz/tags/%E5%B9%B6%E5%8F%91/"/>
    
      <category term="context" scheme="https://lailin.xyz/tags/context/"/>
    
  </entry>
  
  <entry>
    <title>Go并发编程(八) 深入理解 sync.Once</title>
    <link href="https://lailin.xyz/post/go-training-week3-once.html"/>
    <id>https://lailin.xyz/post/go-training-week3-once.html</id>
    <published>2020-12-28T06:29:54.000Z</published>
    <updated>2025-09-08T07:05:49.222Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week03: Go 并发编程" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week03-Go-%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="并发" scheme="https://lailin.xyz/tags/%E5%B9%B6%E5%8F%91/"/>
    
      <category term="sync" scheme="https://lailin.xyz/tags/sync/"/>
    
      <category term="once" scheme="https://lailin.xyz/tags/once/"/>
    
  </entry>
  
  <entry>
    <title>Go并发编程(七) 深入理解 errgroup</title>
    <link href="https://lailin.xyz/post/go-training-week3-errgroup.html"/>
    <id>https://lailin.xyz/post/go-training-week3-errgroup.html</id>
    <published>2020-12-28T05:36:51.000Z</published>
    <updated>2025-09-08T07:05:49.222Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week03: Go 并发编程" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week03-Go-%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="并发" scheme="https://lailin.xyz/tags/%E5%B9%B6%E5%8F%91/"/>
    
      <category term="sync" scheme="https://lailin.xyz/tags/sync/"/>
    
      <category term="errgroup" scheme="https://lailin.xyz/tags/errgroup/"/>
    
      <category term="waitgroup" scheme="https://lailin.xyz/tags/waitgroup/"/>
    
  </entry>
  
  <entry>
    <title>Go并发编程(六) 深入理解 WaitGroup</title>
    <link href="https://lailin.xyz/post/go-training-week3-waitgroup.html"/>
    <id>https://lailin.xyz/post/go-training-week3-waitgroup.html</id>
    <published>2020-12-27T14:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.222Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week03: Go 并发编程" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week03-Go-%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="并发" scheme="https://lailin.xyz/tags/%E5%B9%B6%E5%8F%91/"/>
    
      <category term="sync" scheme="https://lailin.xyz/tags/sync/"/>
    
      <category term="waitgroup" scheme="https://lailin.xyz/tags/waitgroup/"/>
    
  </entry>
  
  <entry>
    <title>Go并发编程(五) 深入理解 sync/atomic</title>
    <link href="https://lailin.xyz/post/go-training-week3-atomic.html"/>
    <id>https://lailin.xyz/post/go-training-week3-atomic.html</id>
    <published>2020-12-27T06:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week03: Go 并发编程" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week03-Go-%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="并发" scheme="https://lailin.xyz/tags/%E5%B9%B6%E5%8F%91/"/>
    
      <category term="atomic" scheme="https://lailin.xyz/tags/atomic/"/>
    
  </entry>
  
  <entry>
    <title>Go并发编程(四) 深入理解 Mutex</title>
    <link href="https://lailin.xyz/post/go-training-week3-sync.html"/>
    <id>https://lailin.xyz/post/go-training-week3-sync.html</id>
    <published>2020-12-26T05:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.222Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week03: Go 并发编程" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week03-Go-%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="并发" scheme="https://lailin.xyz/tags/%E5%B9%B6%E5%8F%91/"/>
    
      <category term="mutex" scheme="https://lailin.xyz/tags/mutex/"/>
    
      <category term="互斥锁" scheme="https://lailin.xyz/tags/%E4%BA%92%E6%96%A5%E9%94%81/"/>
    
  </entry>
  
  <entry>
    <title>Go并发编程(三) data race</title>
    <link href="https://lailin.xyz/post/go-training-week3-data-race.html"/>
    <id>https://lailin.xyz/post/go-training-week3-data-race.html</id>
    <published>2020-12-21T05:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.222Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week03: Go 并发编程" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week03-Go-%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="并发" scheme="https://lailin.xyz/tags/%E5%B9%B6%E5%8F%91/"/>
    
  </entry>
  
  <entry>
    <title>Go并发编程(二) Go 内存模型</title>
    <link href="https://lailin.xyz/post/go-training-week3-go-memory-model.html"/>
    <id>https://lailin.xyz/post/go-training-week3-go-memory-model.html</id>
    <published>2020-12-19T05:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.222Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week03: Go 并发编程" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week03-Go-%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="并发" scheme="https://lailin.xyz/tags/%E5%B9%B6%E5%8F%91/"/>
    
  </entry>
  
  <entry>
    <title>Go并发编程(一) goroutine</title>
    <link href="https://lailin.xyz/post/go-training-week3-goroutine.html"/>
    <id>https://lailin.xyz/post/go-training-week3-goroutine.html</id>
    <published>2020-12-09T05:08:51.000Z</published>
    <updated>2025-09-08T07:05:49.222Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week03: Go 并发编程" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week03-Go-%E5%B9%B6%E5%8F%91%E7%BC%96%E7%A8%8B/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="并发" scheme="https://lailin.xyz/tags/%E5%B9%B6%E5%8F%91/"/>
    
  </entry>
  
  <entry>
    <title>Go错误处理最佳实践</title>
    <link href="https://lailin.xyz/post/go-training-03.html"/>
    <id>https://lailin.xyz/post/go-training-03.html</id>
    <published>2020-12-01T04:44:27.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week02: Go错误处理" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week02-Go%E9%94%99%E8%AF%AF%E5%A4%84%E7%90%86/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="error" scheme="https://lailin.xyz/tags/error/"/>
    
  </entry>
  
  <entry>
    <title>微服务(二) 服务发现&amp;多租户</title>
    <link href="https://lailin.xyz/post/go-training-02.html"/>
    <id>https://lailin.xyz/post/go-training-02.html</id>
    <published>2020-11-28T23:43:17.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;div class=&quot;note note-info&quot;&gt;
           
        
      
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week01: 微服务" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week01-%E5%BE%AE%E6%9C%8D%E5%8A%A1/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="微服务" scheme="https://lailin.xyz/tags/%E5%BE%AE%E6%9C%8D%E5%8A%A1/"/>
    
  </entry>
  
  <entry>
    <title>微服务(一) 微服务概览</title>
    <link href="https://lailin.xyz/post/go-training-01.html"/>
    <id>https://lailin.xyz/post/go-training-01.html</id>
    <published>2020-11-24T16:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.227Z</updated>
    
    <summary type="html">
    
      为什么我们需要微服务，微服务究竟是些什么？
    
    </summary>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="Week01: 微服务" scheme="https://lailin.xyz/categories/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/Week01-%E5%BE%AE%E6%9C%8D%E5%8A%A1/"/>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="Go进阶训练营" scheme="https://lailin.xyz/tags/Go%E8%BF%9B%E9%98%B6%E8%AE%AD%E7%BB%83%E8%90%A5/"/>
    
      <category term="微服务" scheme="https://lailin.xyz/tags/%E5%BE%AE%E6%9C%8D%E5%8A%A1/"/>
    
  </entry>
  
  <entry>
    <title>5. 栈下: 深入理解 defer</title>
    <link href="https://lailin.xyz/post/defer.html"/>
    <id>https://lailin.xyz/post/defer.html</id>
    <published>2020-11-24T06:45:42.000Z</published>
    <updated>2025-09-08T07:05:49.219Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go数据结构与算法" scheme="https://lailin.xyz/categories/Go%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/"/>
    
      <category term="一、基本数据结构" scheme="https://lailin.xyz/categories/Go%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/%E4%B8%80%E3%80%81%E5%9F%BA%E6%9C%AC%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="算法" scheme="https://lailin.xyz/tags/%E7%AE%97%E6%B3%95/"/>
    
      <category term="数据结构" scheme="https://lailin.xyz/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
  </entry>
  
  <entry>
    <title>4. 栈上: 如何实现一个计算器</title>
    <link href="https://lailin.xyz/post/stack.html"/>
    <id>https://lailin.xyz/post/stack.html</id>
    <published>2020-11-23T05:46:59.000Z</published>
    <updated>2025-09-08T07:05:49.219Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go数据结构与算法" scheme="https://lailin.xyz/categories/Go%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/"/>
    
      <category term="一、基本数据结构" scheme="https://lailin.xyz/categories/Go%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/%E4%B8%80%E3%80%81%E5%9F%BA%E6%9C%AC%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="算法" scheme="https://lailin.xyz/tags/%E7%AE%97%E6%B3%95/"/>
    
      <category term="数据结构" scheme="https://lailin.xyz/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
  </entry>
  
  <entry>
    <title>Go Struct 初始化风格的抉择</title>
    <link href="https://lailin.xyz/post/go-new-struct-style-select.html"/>
    <id>https://lailin.xyz/post/go-new-struct-style-select.html</id>
    <published>2020-11-21T22:11:51.000Z</published>
    <updated>2025-09-08T07:05:49.218Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;背景&quot;&gt;&lt;a href=&quot;#背景&quot;
        
      
    
    </summary>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="代码风格" scheme="https://lailin.xyz/tags/%E4%BB%A3%E7%A0%81%E9%A3%8E%E6%A0%BC/"/>
    
  </entry>
  
  <entry>
    <title>3. 数组下: 使用 GDB 调试 Golang 代码</title>
    <link href="https://lailin.xyz/post/array_2.html"/>
    <id>https://lailin.xyz/post/array_2.html</id>
    <published>2020-11-20T21:28:17.000Z</published>
    <updated>2025-09-08T07:05:49.219Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go数据结构与算法" scheme="https://lailin.xyz/categories/Go%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/"/>
    
      <category term="一、基本数据结构" scheme="https://lailin.xyz/categories/Go%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/%E4%B8%80%E3%80%81%E5%9F%BA%E6%9C%AC%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="算法" scheme="https://lailin.xyz/tags/%E7%AE%97%E6%B3%95/"/>
    
      <category term="数据结构" scheme="https://lailin.xyz/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
  </entry>
  
  <entry>
    <title>2. 数组上: 深入理解 slice</title>
    <link href="https://lailin.xyz/post/array.html"/>
    <id>https://lailin.xyz/post/array.html</id>
    <published>2020-11-14T17:17:14.000Z</published>
    <updated>2025-09-08T07:05:49.219Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go数据结构与算法" scheme="https://lailin.xyz/categories/Go%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/"/>
    
      <category term="一、基本数据结构" scheme="https://lailin.xyz/categories/Go%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/%E4%B8%80%E3%80%81%E5%9F%BA%E6%9C%AC%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="算法" scheme="https://lailin.xyz/tags/%E7%AE%97%E6%B3%95/"/>
    
      <category term="数据结构" scheme="https://lailin.xyz/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
  </entry>
  
  <entry>
    <title>1. 链表: 深入理解container/list&amp;LRU缓存的实现</title>
    <link href="https://lailin.xyz/post/list.html"/>
    <id>https://lailin.xyz/post/list.html</id>
    <published>2020-11-06T03:51:31.000Z</published>
    <updated>2025-09-08T07:05:49.219Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go数据结构与算法" scheme="https://lailin.xyz/categories/Go%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/"/>
    
      <category term="一、基本数据结构" scheme="https://lailin.xyz/categories/Go%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/%E4%B8%80%E3%80%81%E5%9F%BA%E6%9C%AC%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
    
      <category term="Go" scheme="https://lailin.xyz/tags/Go/"/>
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="算法" scheme="https://lailin.xyz/tags/%E7%AE%97%E6%B3%95/"/>
    
      <category term="数据结构" scheme="https://lailin.xyz/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式24-总结(更新完毕)</title>
    <link href="https://lailin.xyz/post/go-design-pattern.html"/>
    <id>https://lailin.xyz/post/go-design-pattern.html</id>
    <published>2020-11-04T17:35:39.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="4、总结" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/4%E3%80%81%E6%80%BB%E7%BB%93/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式23-中介模式</title>
    <link href="https://lailin.xyz/post/mediator.html"/>
    <id>https://lailin.xyz/post/mediator.html</id>
    <published>2020-11-04T05:42:07.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="3、行为型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/3%E3%80%81%E8%A1%8C%E4%B8%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式22-解释器模式</title>
    <link href="https://lailin.xyz/post/interpreter.html"/>
    <id>https://lailin.xyz/post/interpreter.html</id>
    <published>2020-11-03T06:18:03.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="3、行为型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/3%E3%80%81%E8%A1%8C%E4%B8%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式21-命令模式</title>
    <link href="https://lailin.xyz/post/command.html"/>
    <id>https://lailin.xyz/post/command.html</id>
    <published>2020-10-29T05:27:44.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="3、行为型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/3%E3%80%81%E8%A1%8C%E4%B8%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式20-备忘录模式</title>
    <link href="https://lailin.xyz/post/memento.html"/>
    <id>https://lailin.xyz/post/memento.html</id>
    <published>2020-10-19T07:22:17.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="3、行为型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/3%E3%80%81%E8%A1%8C%E4%B8%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式19-访问者模式</title>
    <link href="https://lailin.xyz/post/visitor.html"/>
    <id>https://lailin.xyz/post/visitor.html</id>
    <published>2020-10-18T05:16:55.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="3、行为型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/3%E3%80%81%E8%A1%8C%E4%B8%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式18-迭代器模式</title>
    <link href="https://lailin.xyz/post/iterator.html"/>
    <id>https://lailin.xyz/post/iterator.html</id>
    <published>2020-10-17T23:52:47.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="3、行为型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/3%E3%80%81%E8%A1%8C%E4%B8%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式17-状态模式</title>
    <link href="https://lailin.xyz/post/state.html"/>
    <id>https://lailin.xyz/post/state.html</id>
    <published>2020-10-11T01:50:05.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="3、行为型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/3%E3%80%81%E8%A1%8C%E4%B8%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式16-职责链模式(Gin的中间件实现)</title>
    <link href="https://lailin.xyz/post/chain.html"/>
    <id>https://lailin.xyz/post/chain.html</id>
    <published>2020-10-07T06:18:07.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="3、行为型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/3%E3%80%81%E8%A1%8C%E4%B8%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式15-策略模式</title>
    <link href="https://lailin.xyz/post/strategy.html"/>
    <id>https://lailin.xyz/post/strategy.html</id>
    <published>2020-09-29T07:32:32.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="3、行为型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/3%E3%80%81%E8%A1%8C%E4%B8%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go模板模式14-模板模式</title>
    <link href="https://lailin.xyz/post/template.html"/>
    <id>https://lailin.xyz/post/template.html</id>
    <published>2020-09-23T05:06:10.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="3、行为型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/3%E3%80%81%E8%A1%8C%E4%B8%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式13-观察者模式(实现简单的EventBus)</title>
    <link href="https://lailin.xyz/post/observer.html"/>
    <id>https://lailin.xyz/post/observer.html</id>
    <published>2020-09-21T05:49:23.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="3、行为型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/3%E3%80%81%E8%A1%8C%E4%B8%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式12-享元模式</title>
    <link href="https://lailin.xyz/post/flyweight.html"/>
    <id>https://lailin.xyz/post/flyweight.html</id>
    <published>2020-09-20T08:47:12.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="2、结构型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/2%E3%80%81%E7%BB%93%E6%9E%84%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式11-组合模式</title>
    <link href="https://lailin.xyz/post/composite.html"/>
    <id>https://lailin.xyz/post/composite.html</id>
    <published>2020-09-18T22:35:48.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="2、结构型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/2%E3%80%81%E7%BB%93%E6%9E%84%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式10-门面模式</title>
    <link href="https://lailin.xyz/post/facade.html"/>
    <id>https://lailin.xyz/post/facade.html</id>
    <published>2020-09-18T01:03:05.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="2、结构型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/2%E3%80%81%E7%BB%93%E6%9E%84%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式09-适配器模式</title>
    <link href="https://lailin.xyz/post/adapter.html"/>
    <id>https://lailin.xyz/post/adapter.html</id>
    <published>2020-09-17T05:45:01.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="2、结构型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/2%E3%80%81%E7%BB%93%E6%9E%84%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式08-装饰器模式</title>
    <link href="https://lailin.xyz/post/decorator.html"/>
    <id>https://lailin.xyz/post/decorator.html</id>
    <published>2020-09-06T00:05:57.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="2、结构型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/2%E3%80%81%E7%BB%93%E6%9E%84%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式07-桥接模式</title>
    <link href="https://lailin.xyz/post/bridge.html"/>
    <id>https://lailin.xyz/post/bridge.html</id>
    <published>2020-09-06T00:05:11.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="2、结构型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/2%E3%80%81%E7%BB%93%E6%9E%84%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式06-代理模式(generate实现类似动态代理)</title>
    <link href="https://lailin.xyz/post/proxy.html"/>
    <id>https://lailin.xyz/post/proxy.html</id>
    <published>2020-09-06T00:03:56.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="2、结构型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/2%E3%80%81%E7%BB%93%E6%9E%84%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式05-创建型模式总结</title>
    <link href="https://lailin.xyz/post/go-design-pattern-create.html"/>
    <id>https://lailin.xyz/post/go-design-pattern-create.html</id>
    <published>2020-09-01T20:28:04.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="1、创建型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/1%E3%80%81%E5%88%9B%E5%BB%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式04-原型模式</title>
    <link href="https://lailin.xyz/post/prototype.html"/>
    <id>https://lailin.xyz/post/prototype.html</id>
    <published>2020-09-01T20:03:39.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="1、创建型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/1%E3%80%81%E5%88%9B%E5%BB%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式03-建造者模式</title>
    <link href="https://lailin.xyz/post/builder.html"/>
    <id>https://lailin.xyz/post/builder.html</id>
    <published>2020-08-29T20:26:20.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="1、创建型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/1%E3%80%81%E5%88%9B%E5%BB%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式02-工厂模式&amp;DI容器</title>
    <link href="https://lailin.xyz/post/factory.html"/>
    <id>https://lailin.xyz/post/factory.html</id>
    <published>2020-08-24T02:34:08.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="1、创建型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/1%E3%80%81%E5%88%9B%E5%BB%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>笔记-让你最快速地改善代码质量的20条编程规范</title>
    <link href="https://lailin.xyz/post/fe1ma9.html"/>
    <id>https://lailin.xyz/post/fe1ma9.html</id>
    <published>2020-08-20T20:22:09.000Z</published>
    <updated>2025-09-08T07:05:49.221Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>Go设计模式01-单例模式</title>
    <link href="https://lailin.xyz/post/singleton.html"/>
    <id>https://lailin.xyz/post/singleton.html</id>
    <published>2020-08-19T01:19:47.000Z</published>
    <updated>2025-09-08T07:05:49.220Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;序&quot;&gt;&lt;a href=&quot;#序&quot;
        
      
    
    </summary>
    
      <category term="Go设计模式" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
      <category term="1、创建型" scheme="https://lailin.xyz/categories/Go%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/1%E3%80%81%E5%88%9B%E5%BB%BA%E5%9E%8B/"/>
    
    
      <category term="学习笔记" scheme="https://lailin.xyz/tags/%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
    
      <category term="设计模式" scheme="https://lailin.xyz/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>一点拙见-如何写好一个技术预研报告?</title>
    <link href="https://lailin.xyz/post/how-to-write-a-pre-research-report.html"/>
    <id>https://lailin.xyz/post/how-to-write-a-pre-research-report.html</id>
    <published>2020-07-06T20:17:41.000Z</published>
    <updated>2025-09-08T07:05:49.225Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
         
        
      
    
    </summary>
    
    
      <category term="4、总结" scheme="https://lailin.xyz/tags/4%E3%80%81%E6%80%BB%E7%BB%93/"/>
    
      <category term="反思" scheme="https://lailin.xyz/tags/%E5%8F%8D%E6%80%9D/"/>
    
  </entry>
  
  <entry>
    <title>Go Web小技巧（四）在单个仓库中支持多个 go mod 模块</title>
    <link href="https://lailin.xyz/post/auxvv1.html"/>
    <id>https://lailin.xyz/post/auxvv1.html</id>
    <published>2020-04-17T10:41:12.000Z</published>
    <updated>2025-09-08T07:05:49.219Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;背景&quot;&gt;&lt;a href=&quot;#背景&quot; class=&quot;headerlink&quot; title=&quot;背景&quot;&gt;&lt;/a&gt;背景&lt;/h2&gt;&lt;p&gt;最近在更新内部的工具库的时候发现，工具仓库中其实包含了很多的模块，但是现在的版本发布都是合并在在一起发的，为了管理更加细致和直观，所以想要在一个仓库中实现实现多个模块的发布。
    
    </summary>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="小技巧" scheme="https://lailin.xyz/tags/%E5%B0%8F%E6%8A%80%E5%B7%A7/"/>
    
      <category term="go mod" scheme="https://lailin.xyz/tags/go-mod/"/>
    
  </entry>
  
  <entry>
    <title>Go Web 小技巧（三）Gin 参数绑定</title>
    <link href="https://lailin.xyz/post/11996.html"/>
    <id>https://lailin.xyz/post/11996.html</id>
    <published>2019-11-06T13:00:00.000Z</published>
    <updated>2025-09-08T07:05:49.219Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;楔-xie-子&quot;&gt;&lt;a href=&quot;#楔-xie-子&quot; class=&quot;headerlink&quot; title=&quot;楔(xiē)子&quot;&gt;&lt;/a&gt;楔(xiē)子&lt;/h2&gt;&lt;p&gt;在第一篇文章 &lt;a href=&quot;https://lailin.xyz/post/38237.html&quot;&gt;简化 Gin 接口代码&lt;/a&gt; 当中为大家提供了一种抽象 &lt;code&gt;gin&lt;/code&gt; 接口代码的思路，而这篇文章会为大家带来参数绑定的一些技巧。&lt;/p&gt;
&lt;p&gt;在我们写的绝大部分的 API 代码当中，其实都是需要传递参数的，无论是通过 &lt;code&gt;path&lt;/code&gt;、&lt;code&gt;query string&lt;/code&gt; 还是 &lt;code&gt;body&lt;/code&gt;，在 &lt;code&gt;gin&lt;/code&gt; 当中，为我们提供了一系列的 &lt;code&gt;binding&lt;/code&gt; 方法让我们可以把这些参数绑定到一个对象中，通过还可以通过 &lt;code&gt;struct tag&lt;/code&gt; 来对参数进行校验，不知道到大家曾今是否和遇到过相同的困惑：&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;我创建/更新接口有时候就仅仅只相差一个 id，我是不是可以复用代码？&lt;/li&gt;
&lt;li&gt;是否可以直接用 model 层的 struct 绑定参数？&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;接下来本文就从这些问题出发，利用 go 的组合特点，介绍一些参数绑定上的小技巧&lt;/p&gt;
    
    </summary>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="gin" scheme="https://lailin.xyz/tags/gin/"/>
    
      <category term="小技巧" scheme="https://lailin.xyz/tags/%E5%B0%8F%E6%8A%80%E5%B7%A7/"/>
    
      <category term="api" scheme="https://lailin.xyz/tags/api/"/>
    
  </entry>
  
  <entry>
    <title>Go Web 小技巧（二）GORM 使用自定义类型</title>
    <link href="https://lailin.xyz/post/17394.html"/>
    <id>https://lailin.xyz/post/17394.html</id>
    <published>2019-11-03T10:12:26.000Z</published>
    <updated>2025-09-08T07:05:49.219Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;p&gt;不知道大家在使用 Gorm 的时候，是否有遇到过复杂类型 ( map, struct…) 如何映射到数据库的字段上的问题？&lt;/p&gt;
&lt;p&gt;本文分别介绍通过实现通用接口和 Hook 的方式绑定复杂的数据类型。&lt;/p&gt;
    
    </summary>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="gorm" scheme="https://lailin.xyz/tags/gorm/"/>
    
      <category term="小技巧" scheme="https://lailin.xyz/tags/%E5%B0%8F%E6%8A%80%E5%B7%A7/"/>
    
  </entry>
  
  <entry>
    <title>Go Web 小技巧（一）简化Gin接口代码</title>
    <link href="https://lailin.xyz/post/38237.html"/>
    <id>https://lailin.xyz/post/38237.html</id>
    <published>2019-10-26T02:10:10.000Z</published>
    <updated>2025-09-08T07:05:49.219Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;p&gt;不知道大家在使用 Gin 构建 API 服务时有没有这样的问题:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;参数绑定的环节可不可以自动处理？&lt;/li&gt;
&lt;li&gt;错误可不可以直接返回，不想写空 &lt;code&gt;return&lt;/code&gt;, 漏写就是 &lt;code&gt;bug&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;本文通过简单地封装，利用 go 的接口特性，提供一个解决上述两个问题的思路&lt;/p&gt;
    
    </summary>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="gin" scheme="https://lailin.xyz/tags/gin/"/>
    
      <category term="小技巧" scheme="https://lailin.xyz/tags/%E5%B0%8F%E6%8A%80%E5%B7%A7/"/>
    
      <category term="api" scheme="https://lailin.xyz/tags/api/"/>
    
  </entry>
  
  <entry>
    <title>善用工具之postman高级用法概述</title>
    <link href="https://lailin.xyz/post/45050.html"/>
    <id>https://lailin.xyz/post/45050.html</id>
    <published>2019-07-11T15:05:01.000Z</published>
    <updated>2025-09-08T07:05:49.228Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;p&gt;POSTMAN 是我在开发过程当中最常用到的 API 测试工具之一，虽然并不完美，但也是目前个人认为在 API 测试时最好用的客户端工具之一。&lt;/p&gt;
&lt;p&gt;本文适用于后端，前端，移动端以及测试的同学，分三大部分从最简单的界面操作开讲，然后涉及到变量、脚本以及一些云服务相关的功能，最后将适配几个案例讲解怎么使用 POSTMAN 提高我们的工作效率。本文前半部分包含较多基础功能讲解，对已经比较熟悉使用的同学，可以选择性的跳过部分内容。&lt;/p&gt;
    
    </summary>
    
    
      <category term="tool" scheme="https://lailin.xyz/tags/tool/"/>
    
      <category term="api" scheme="https://lailin.xyz/tags/api/"/>
    
      <category term="postman" scheme="https://lailin.xyz/tags/postman/"/>
    
      <category term="rest" scheme="https://lailin.xyz/tags/rest/"/>
    
      <category term="test" scheme="https://lailin.xyz/tags/test/"/>
    
      <category term="gatway" scheme="https://lailin.xyz/tags/gatway/"/>
    
  </entry>
  
  <entry>
    <title>go generate and ast</title>
    <link href="https://lailin.xyz/post/41140.html"/>
    <id>https://lailin.xyz/post/41140.html</id>
    <published>2019-05-07T15:31:20.000Z</published>
    <updated>2025-09-08T07:05:49.218Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;h2 id=&quot;楔-xie-子&quot;&gt;&lt;a href=&quot;#楔-xie-子&quot; class=&quot;headerlink&quot; title=&quot;楔(xiē)子&quot;&gt;&lt;/a&gt;楔(xiē)子&lt;/h2&gt;&lt;p&gt;最近写&lt;code&gt;API CURD&lt;/code&gt;比较多，为了结构清晰，返回值需要统一错误码，所以在一个统一的&lt;code&gt;errcode&lt;/code&gt;包中定义错误码常量，以及其错误信息.&lt;/p&gt;
    
    </summary>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="generate" scheme="https://lailin.xyz/tags/generate/"/>
    
      <category term="ast" scheme="https://lailin.xyz/tags/ast/"/>
    
      <category term="tool" scheme="https://lailin.xyz/tags/tool/"/>
    
  </entry>
  
  <entry>
    <title>hexo-next-algolia-search全文搜索</title>
    <link href="https://lailin.xyz/post/27142.html"/>
    <id>https://lailin.xyz/post/27142.html</id>
    <published>2019-04-09T15:42:17.000Z</published>
    <updated>2025-09-08T07:05:49.225Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;p&gt;在 hexo 中通过 algolia 实现全文搜索&lt;/p&gt;
    
    </summary>
    
    
      <category term="blog" scheme="https://lailin.xyz/tags/blog/"/>
    
      <category term="hexo" scheme="https://lailin.xyz/tags/hexo/"/>
    
      <category term="next" scheme="https://lailin.xyz/tags/next/"/>
    
      <category term="algolia" scheme="https://lailin.xyz/tags/algolia/"/>
    
      <category term="search" scheme="https://lailin.xyz/tags/search/"/>
    
  </entry>
  
  <entry>
    <title>docker镜像瘦身&amp;优化</title>
    <link href="https://lailin.xyz/post/51252.html"/>
    <id>https://lailin.xyz/post/51252.html</id>
    <published>2019-03-30T08:10:10.000Z</published>
    <updated>2025-09-08T07:05:49.225Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;为什么在存储如此便宜的今天我们仍然需要对 Docker 镜像进行瘦身?&lt;/p&gt;
&lt;/blockquote&gt;
    
    </summary>
    
      <category term="notes" scheme="https://lailin.xyz/categories/notes/"/>
    
    
      <category term="blog" scheme="https://lailin.xyz/tags/blog/"/>
    
      <category term="docker" scheme="https://lailin.xyz/tags/docker/"/>
    
      <category term="cloud" scheme="https://lailin.xyz/tags/cloud/"/>
    
  </entry>
  
  <entry>
    <title>GORM避坑指南之含关联关系的更新</title>
    <link href="https://lailin.xyz/post/60163.html"/>
    <id>https://lailin.xyz/post/60163.html</id>
    <published>2019-01-29T06:08:52.000Z</published>
    <updated>2025-09-08T07:05:49.228Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;p&gt;在 GORM 的&lt;a href=&quot;http://gorm.io/docs/update.html&quot;&gt;文档&lt;/a&gt;当中有说明，使用&lt;code&gt;Update&lt;/code&gt;, &lt;code&gt;Updates&lt;/code&gt;时只会更新改变的字段，但是出现关联关系的时候情况似乎有了一些微妙的变化&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If you only want to update changed Fields, you could use &lt;code&gt;Update&lt;/code&gt;, &lt;code&gt;Updates&lt;/code&gt;&lt;/p&gt;
&lt;/blockquote&gt;
    
    </summary>
    
      <category term="事故现场" scheme="https://lailin.xyz/categories/%E4%BA%8B%E6%95%85%E7%8E%B0%E5%9C%BA/"/>
    
      <category term="2019" scheme="https://lailin.xyz/categories/%E4%BA%8B%E6%95%85%E7%8E%B0%E5%9C%BA/2019/"/>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="gorm" scheme="https://lailin.xyz/tags/gorm/"/>
    
      <category term="blog" scheme="https://lailin.xyz/tags/blog/"/>
    
      <category term="note" scheme="https://lailin.xyz/tags/note/"/>
    
  </entry>
  
  <entry>
    <title>Github Actions介绍&amp;自动构建Github Pages博客</title>
    <link href="https://lailin.xyz/post/28054.html"/>
    <id>https://lailin.xyz/post/28054.html</id>
    <published>2019-01-14T09:11:19.000Z</published>
    <updated>2025-09-08T07:05:49.225Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;p&gt;本文将主要讲述如何创建一个自定义的 Github Actions， 并且使用 Github Actions 完成 CI/CD 的操作&lt;/p&gt;
    
    </summary>
    
    
      <category term="notes" scheme="https://lailin.xyz/tags/notes/"/>
    
      <category term="blog" scheme="https://lailin.xyz/tags/blog/"/>
    
  </entry>
  
  <entry>
    <title>在blog中内嵌在线PPT</title>
    <link href="https://lailin.xyz/post/7944.html"/>
    <id>https://lailin.xyz/post/7944.html</id>
    <published>2018-12-08T00:44:03.000Z</published>
    <updated>2025-09-08T07:05:49.226Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;p&gt;有时我们会做一些分享，分享之后可以把 PPT 脱敏之后放在博客上面，可以使用 office online 直接内嵌 PPT, 巨硬大法好&lt;/p&gt;
    
    </summary>
    
    
      <category term="blog" scheme="https://lailin.xyz/tags/blog/"/>
    
  </entry>
  
  <entry>
    <title>记一次net http内存泄漏</title>
    <link href="https://lailin.xyz/post/44107.html"/>
    <id>https://lailin.xyz/post/44107.html</id>
    <published>2018-12-08T00:31:20.000Z</published>
    <updated>2025-09-08T07:05:49.228Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;使用 gin
        
      
    
    </summary>
    
      <category term="事故现场" scheme="https://lailin.xyz/categories/%E4%BA%8B%E6%95%85%E7%8E%B0%E5%9C%BA/"/>
    
      <category term="2018" scheme="https://lailin.xyz/categories/%E4%BA%8B%E6%95%85%E7%8E%B0%E5%9C%BA/2018/"/>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="notes" scheme="https://lailin.xyz/tags/notes/"/>
    
      <category term="内存泄漏" scheme="https://lailin.xyz/tags/%E5%86%85%E5%AD%98%E6%B3%84%E6%BC%8F/"/>
    
  </entry>
  
  <entry>
    <title>使用TravisCI自动部署Blog</title>
    <link href="https://lailin.xyz/post/52061.html"/>
    <id>https://lailin.xyz/post/52061.html</id>
    <published>2018-09-25T03:09:59.000Z</published>
    <updated>2025-09-08T07:05:49.226Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;p&gt;之前博客的更新一直都是在本地运行&lt;code&gt;hugo&lt;/code&gt;然后手动
        
      
    
    </summary>
    
    
      <category term="notes" scheme="https://lailin.xyz/tags/notes/"/>
    
      <category term="ci" scheme="https://lailin.xyz/tags/ci/"/>
    
      <category term="hugo" scheme="https://lailin.xyz/tags/hugo/"/>
    
  </entry>
  
  <entry>
    <title>使用Goland调试Go程序</title>
    <link href="https://lailin.xyz/post/37623.html"/>
    <id>https://lailin.xyz/post/37623.html</id>
    <published>2018-09-23T06:35:51.000Z</published>
    <updated>2025-09-08T07:05:49.228Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;在上一篇Blog当中发现了一个十分边缘的GORM的bug，由于不熟悉工具，bug的调试过程还是比较麻烦，这一篇讲一讲如何使用Goland强大的debug功能调试Go程序&lt;/p&gt;
&lt;/blockquote&gt;
    
    </summary>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="tool" scheme="https://lailin.xyz/tags/tool/"/>
    
  </entry>
  
  <entry>
    <title>一个十分边缘的gorm的bug</title>
    <link href="https://lailin.xyz/post/37449.html"/>
    <id>https://lailin.xyz/post/37449.html</id>
    <published>2018-09-21T02:46:58.000Z</published>
    <updated>2025-09-08T07:05:49.218Z</updated>
    
    <summary type="html">
    
      &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;p&gt;[toc]&lt;/p&gt;
&lt;h2 id=&quot;复现代码&quot;&gt;&lt;a href=&quot;#复现代码&quot; class=&quot;headerlink&quot; title=&quot;复现代码&quot;&gt;&lt;/a&gt;复现代码&lt;/h2&gt;&lt;p&gt;这个代码的触发条件比较严苛，首先必须要保证 gorm 执行的一行必须为&lt;code&gt;updates&lt;/code&gt;语句，并且在&lt;code&gt;updates(struct)&lt;/code&gt;,并且传入的这个&lt;code&gt;struct&lt;/code&gt;必须要包含一个直接或者间接关联的一个多态表，这些条件缺一不可&lt;/p&gt;
    
    </summary>
    
      <category term="notes" scheme="https://lailin.xyz/categories/notes/"/>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="notes" scheme="https://lailin.xyz/tags/notes/"/>
    
      <category term="bug" scheme="https://lailin.xyz/tags/bug/"/>
    
      <category term="gorm" scheme="https://lailin.xyz/tags/gorm/"/>
    
  </entry>
  
  <entry>
    <title>Httprouter介绍及源码阅读</title>
    <link href="https://lailin.xyz/post/44029.html"/>
    <id>https://lailin.xyz/post/44029.html</id>
    <published>2018-08-02T06:46:01.000Z</published>
    <updated>2025-09-08T07:05:49.218Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;p&gt;在上一篇文章当中阅读了 Go 语言的一个高性能的 Web 框架
        
      
    
    </summary>
    
      <category term="web" scheme="https://lailin.xyz/categories/web/"/>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="路由" scheme="https://lailin.xyz/tags/%E8%B7%AF%E7%94%B1/"/>
    
  </entry>
  
  <entry>
    <title>Gin源码阅读 从0.1开始</title>
    <link href="https://lailin.xyz/post/12338.html"/>
    <id>https://lailin.xyz/post/12338.html</id>
    <published>2018-07-21T07:03:19.000Z</published>
    <updated>2025-09-08T07:05:49.218Z</updated>
    
    <summary type="html">
    
      
      
        
        
          &lt;div class=&quot;note note-danger&quot;&gt;
            &lt;p&gt;注：本文已发布超过一年，请注意您所使用工具的相关版本是否适用&lt;/p&gt;
          &lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;最近打算开始学习一下 Gin 的源代码，现在
        
      
    
    </summary>
    
      <category term="web" scheme="https://lailin.xyz/categories/web/"/>
    
    
      <category term="go" scheme="https://lailin.xyz/tags/go/"/>
    
      <category term="gin" scheme="https://lailin.xyz/tags/gin/"/>
    
  </entry>
  
</feed>
