<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Backend on 编程心语</title>
		<link>https://www.ithome.me/tags/backend/</link>
		<description>Recent content in Backend on 编程心语</description>
		<generator>Hugo</generator>
		<language>zh-CN</language>
		
		
		
		
			<lastBuildDate>Tue, 04 Aug 2026 14:59:27 +0800</lastBuildDate>
		
			<atom:link href="https://www.ithome.me/tags/backend/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Go 1.22 标准库路由实战：用 net/http 构建 REST API</title>
				<link>https://www.ithome.me/post/2026/07/25/go122-router/</link>
				<pubDate>Sat, 25 Jul 2026 08:00:00 +0800</pubDate>
				<guid>https://www.ithome.me/post/2026/07/25/go122-router/</guid>
				<description>&lt;p&gt;Go 1.22 之前，标准库 &lt;code&gt;net/http&lt;/code&gt; 的路由能力非常基础——不支持方法匹配（&lt;code&gt;GET&lt;/code&gt; &lt;code&gt;POST&lt;/code&gt;），不支持路径参数（&lt;code&gt;/users/{id}&lt;/code&gt;）。社区因此催生了 &lt;code&gt;gin&lt;/code&gt;、&lt;code&gt;chi&lt;/code&gt;、&lt;code&gt;echo&lt;/code&gt; 等第三方路由库。&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
