<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Go-Zero on Inkwell Corner</title>
    <link>https://xhyyx.pages.dev/categories/go-zero/</link>
    <description>Recent content in Go-Zero on Inkwell Corner</description>
    <image>
      <title>Inkwell Corner</title>
      <url>https://i.postimg.cc/7hwBy7VS/calcr.png</url>
      <link>https://i.postimg.cc/7hwBy7VS/calcr.png</link>
    </image>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <copyright>©2026 Inkwell Corner</copyright>
    <lastBuildDate>Fri, 26 Dec 2025 22:19:38 +0800</lastBuildDate>
    <atom:link href="https://xhyyx.pages.dev/categories/go-zero/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>go-zero rest 源码学习笔记</title>
      <link>https://xhyyx.pages.dev/posts/gozero-rest/</link>
      <pubDate>Fri, 26 Dec 2025 22:19:38 +0800</pubDate>
      <guid>https://xhyyx.pages.dev/posts/gozero-rest/</guid>
      <description>&lt;h1 id=&#34;概述&#34;&gt;概述&lt;/h1&gt;
&lt;p&gt;&lt;code&gt;go-zero&lt;/code&gt; 基于 &lt;code&gt;net/http&lt;/code&gt; 标准库实现了一套 &lt;code&gt;rest&lt;/code&gt; web 框架。在使用 &lt;code&gt;goctl&lt;/code&gt; 快速开发的同时，也需要了解 &lt;code&gt;go-zero&lt;/code&gt; 内部做了什么。本文结合 &lt;a href=&#34;https://zeromicro.github.io/go-zero.dev/docs/component/rest&#34;&gt;go-zero rest&lt;/a&gt;学习其中的源码，力图做到知其所以然。&lt;/p&gt;
&lt;h1 id=&#34;源码&#34;&gt;源码&lt;/h1&gt;
&lt;h2 id=&#34;流程图&#34;&gt;流程图&lt;/h2&gt;
&lt;p&gt;&lt;img alt=&#34;go-zero rest 流程图.png&#34; loading=&#34;lazy&#34; src=&#34;https://xhyyx.pages.dev/images/go-zero-rest-procedure.png&#34;&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
