<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>《Go2 Error Inspection前瞻》的评论</title>
	<atom:link href="http://tonybai.com/2019/01/27/perspective-study-on-go2-error-inspection/feed/" rel="self" type="application/rss+xml" />
	<link>https://tonybai.com/2019/01/27/perspective-study-on-go2-error-inspection/</link>
	<description>一个程序员的心路历程</description>
	<lastBuildDate>Wed, 25 Mar 2026 09:21:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>作者：bigwhite</title>
		<link>https://tonybai.com/2019/01/27/perspective-study-on-go2-error-inspection/#comment-7338</link>
		<dc:creator>bigwhite</dc:creator>
		<pubDate>Thu, 28 Feb 2019 12:13:27 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2674#comment-7338</guid>
		<description>谢谢提醒。</description>
		<content:encoded><![CDATA[<p>谢谢提醒。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：lifeng1335</title>
		<link>https://tonybai.com/2019/01/27/perspective-study-on-go2-error-inspection/#comment-7337</link>
		<dc:creator>lifeng1335</dc:creator>
		<pubDate>Thu, 28 Feb 2019 01:58:21 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2674#comment-7337</guid>
		<description>golang.org/x/exp/xerrors 已经被删除了，现在已经被 golang.org/x/xerrors 替代，见[xerrors: delete x/exp/xerrors](https://github.com/golang/exp/commit/21964bba6549f73cc16f1ddbc95bcbbb5b679985)</description>
		<content:encoded><![CDATA[<p>golang.org/x/exp/xerrors 已经被删除了，现在已经被 golang.org/x/xerrors 替代，见[xerrors: delete x/exp/xerrors](https://github.com/golang/exp/commit/21964bba6549f73cc16f1ddbc95bcbbb5b679985)</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：江山如画</title>
		<link>https://tonybai.com/2019/01/27/perspective-study-on-go2-error-inspection/#comment-7326</link>
		<dc:creator>江山如画</dc:creator>
		<pubDate>Tue, 29 Jan 2019 00:42:41 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2674#comment-7326</guid>
		<description>谢谢您回复！</description>
		<content:encoded><![CDATA[<p>谢谢您回复！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：bigwhite</title>
		<link>https://tonybai.com/2019/01/27/perspective-study-on-go2-error-inspection/#comment-7325</link>
		<dc:creator>bigwhite</dc:creator>
		<pubDate>Mon, 28 Jan 2019 11:47:37 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2674#comment-7325</guid>
		<description>if err != nil {} 大量重复的问题由另外一个design: error handling: https://github.com/golang/proposal/blob/master/design/go2draft-error-handling-overview.md 负责解决。</description>
		<content:encoded><![CDATA[<p>if err != nil {} 大量重复的问题由另外一个design: error handling: <a href="https://github.com/golang/proposal/blob/master/design/go2draft-error-handling-overview.md" rel="nofollow">https://github.com/golang/proposal/blob/master/design/go2draft-error-handling-overview.md</a> 负责解决。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：江山如画</title>
		<link>https://tonybai.com/2019/01/27/perspective-study-on-go2-error-inspection/#comment-7324</link>
		<dc:creator>江山如画</dc:creator>
		<pubDate>Mon, 28 Jan 2019 06:51:48 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2674#comment-7324</guid>
		<description>您好, 我是一名初学者，一些问题请教一下您。我理解xerrors包扩展了原有errors包的一些功能, 增加了错误栈打印等等，但是还是有一些问题不是太清楚：

1. &quot;wrapping error&quot; 是如何避免大量 &quot;err!=nil&quot; 的出现呀
2.  ”error chain“ 是在 go2 draft 最新引入的么,   在工程中实际使用是怎样的,  一层层的错误封装除了方便问题定位，对实际的代码架构设计有什么积极影响呀 

谢谢您！</description>
		<content:encoded><![CDATA[<p>您好, 我是一名初学者，一些问题请教一下您。我理解xerrors包扩展了原有errors包的一些功能, 增加了错误栈打印等等，但是还是有一些问题不是太清楚：</p>
<p>1. “wrapping error” 是如何避免大量 “err!=nil” 的出现呀<br />
2.  ”error chain“ 是在 go2 draft 最新引入的么,   在工程中实际使用是怎样的,  一层层的错误封装除了方便问题定位，对实际的代码架构设计有什么积极影响呀 </p>
<p>谢谢您！</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：tangmo</title>
		<link>https://tonybai.com/2019/01/27/perspective-study-on-go2-error-inspection/#comment-7323</link>
		<dc:creator>tangmo</dc:creator>
		<pubDate>Mon, 28 Jan 2019 05:54:11 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2674#comment-7323</guid>
		<description>赞赞赞，我们在实际使用中自定义error类型时，有些类似思想了。期待官方版本</description>
		<content:encoded><![CDATA[<p>赞赞赞，我们在实际使用中自定义error类型时，有些类似思想了。期待官方版本</p>
]]></content:encoded>
	</item>
</channel>
</rss>
