<?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>《初窥Go module》的评论</title>
	<atom:link href="http://tonybai.com/2018/07/15/hello-go-module/feed/" rel="self" type="application/rss+xml" />
	<link>https://tonybai.com/2018/07/15/hello-go-module/</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>作者：nopnow</title>
		<link>https://tonybai.com/2018/07/15/hello-go-module/#comment-7365</link>
		<dc:creator>nopnow</dc:creator>
		<pubDate>Wed, 22 May 2019 04:37:10 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2625#comment-7365</guid>
		<description>在使用GOMODULE时往往会出现Internal Server Error或Timeout等问题。 
GOPROXY能够在一定程度上解决在拉取诸如 golang.org/x 包的时候产生的超时问题，也可以在一定程度上解决由于项目改名、迁移、删除等原因导致的404问题。 
但是需要注意的是，使用GOPROXY将导致你无法拉取私有储存库。 
现在，GOS解决了这个问题。 https://github.com/storyicon/gos</description>
		<content:encoded><![CDATA[<p>在使用GOMODULE时往往会出现Internal Server Error或Timeout等问题。<br />
GOPROXY能够在一定程度上解决在拉取诸如 golang.org/x 包的时候产生的超时问题，也可以在一定程度上解决由于项目改名、迁移、删除等原因导致的404问题。<br />
但是需要注意的是，使用GOPROXY将导致你无法拉取私有储存库。<br />
现在，GOS解决了这个问题。 <a href="https://github.com/storyicon/gos" rel="nofollow">https://github.com/storyicon/gos</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：bigwhite</title>
		<link>https://tonybai.com/2018/07/15/hello-go-module/#comment-7318</link>
		<dc:creator>bigwhite</dc:creator>
		<pubDate>Fri, 18 Jan 2019 21:50:46 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2625#comment-7318</guid>
		<description>我的微信公众号iamtonybai有二维码啊，就在blog页面的右侧边栏里。难道还不够醒目:)</description>
		<content:encoded><![CDATA[<p>我的微信公众号iamtonybai有二维码啊，就在blog页面的右侧边栏里。难道还不够醒目:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：大鹏</title>
		<link>https://tonybai.com/2018/07/15/hello-go-module/#comment-7316</link>
		<dc:creator>大鹏</dc:creator>
		<pubDate>Fri, 18 Jan 2019 14:58:43 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2625#comment-7316</guid>
		<description>Tony老师，微信公众号，搞一个二维码啊</description>
		<content:encoded><![CDATA[<p>Tony老师，微信公众号，搞一个二维码啊</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：bigwhite</title>
		<link>https://tonybai.com/2018/07/15/hello-go-module/#comment-7309</link>
		<dc:creator>bigwhite</dc:creator>
		<pubDate>Thu, 20 Dec 2018 05:05:40 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2625#comment-7309</guid>
		<description>应该是发布时用全局替换命令替换错了，应该是$GOPATH/pkg/mod/ 目录下，而不是$GOPATH/src/mod目录。文章中已经改过来了，谢谢报出问题。</description>
		<content:encoded><![CDATA[<p>应该是发布时用全局替换命令替换错了，应该是$GOPATH/pkg/mod/ 目录下，而不是$GOPATH/src/mod目录。文章中已经改过来了，谢谢报出问题。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：EyesChan</title>
		<link>https://tonybai.com/2018/07/15/hello-go-module/#comment-7308</link>
		<dc:creator>EyesChan</dc:creator>
		<pubDate>Thu, 20 Dec 2018 04:56:02 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2625#comment-7308</guid>
		<description>我的项目依赖的包全部缓存在了 $GOPATH/pkg/mod/ 目录下了。并不是文中说的 $GOPATH/src/mod/ 。请问这种出现这种情况的原因是什么？</description>
		<content:encoded><![CDATA[<p>我的项目依赖的包全部缓存在了 $GOPATH/pkg/mod/ 目录下了。并不是文中说的 $GOPATH/src/mod/ 。请问这种出现这种情况的原因是什么？</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：bigwhite</title>
		<link>https://tonybai.com/2018/07/15/hello-go-module/#comment-7273</link>
		<dc:creator>bigwhite</dc:creator>
		<pubDate>Sun, 23 Sep 2018 21:25:10 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2625#comment-7273</guid>
		<description>假设我们的代码是A依赖第三方包B。甲程序员9:00 go get A并编译A，此时B的trunk的revision为001。10:00B的author在B trunk提交了新代码，B代码的trunk revision进化到002。11点时乙程序员go get A并编译A。显然甲乙两个人得到的编译后的A可执行程序并不相同，因为虽然同为B trunk，但trunk上的代码已经不同了。并且大多数情况，在go build之前很少会执行 go get。这样就不能实现reproduceable build。</description>
		<content:encoded><![CDATA[<p>假设我们的代码是A依赖第三方包B。甲程序员9:00 go get A并编译A，此时B的trunk的revision为001。10:00B的author在B trunk提交了新代码，B代码的trunk revision进化到002。11点时乙程序员go get A并编译A。显然甲乙两个人得到的编译后的A可执行程序并不相同，因为虽然同为B trunk，但trunk上的代码已经不同了。并且大多数情况，在go build之前很少会执行 go get。这样就不能实现reproduceable build。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：hyvi</title>
		<link>https://tonybai.com/2018/07/15/hello-go-module/#comment-7272</link>
		<dc:creator>hyvi</dc:creator>
		<pubDate>Sat, 22 Sep 2018 16:00:31 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2625#comment-7272</guid>
		<description>因依赖包的trunk的变化，导致不同人获取和编译你的包/程序时得到的结果实质是不同的，即不能实现reproduceable build 
==== 
这句话怎么理解，不同人获取和编译你的包／程序时得到的结果实质是不同的？ ，
如果trunk变化了，大家go get 一下，那么编译的都是变化后的trunk，结果是一样的。</description>
		<content:encoded><![CDATA[<p>因依赖包的trunk的变化，导致不同人获取和编译你的包/程序时得到的结果实质是不同的，即不能实现reproduceable build<br />
====<br />
这句话怎么理解，不同人获取和编译你的包／程序时得到的结果实质是不同的？ ，<br />
如果trunk变化了，大家go get 一下，那么编译的都是变化后的trunk，结果是一样的。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：绝望的祖父</title>
		<link>https://tonybai.com/2018/07/15/hello-go-module/#comment-7266</link>
		<dc:creator>绝望的祖父</dc:creator>
		<pubDate>Thu, 06 Sep 2018 03:30:48 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2625#comment-7266</guid>
		<description>Goland 支持了，vscode看来还需要一段时间</description>
		<content:encoded><![CDATA[<p>Goland 支持了，vscode看来还需要一段时间</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：bigwhite</title>
		<link>https://tonybai.com/2018/07/15/hello-go-module/#comment-7265</link>
		<dc:creator>bigwhite</dc:creator>
		<pubDate>Wed, 05 Sep 2018 21:42:08 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2625#comment-7265</guid>
		<description>从vscode-go最新的changelog和issue来看，目前它还不支持module。很多工具还不支持module，因为之前go module一直的active dev中，命令形式经常变化。go 1.11发布后算是暂时稳定，各个工具也才开始考虑如何支持，这个需要时间。</description>
		<content:encoded><![CDATA[<p>从vscode-go最新的changelog和issue来看，目前它还不支持module。很多工具还不支持module，因为之前go module一直的active dev中，命令形式经常变化。go 1.11发布后算是暂时稳定，各个工具也才开始考虑如何支持，这个需要时间。</p>
]]></content:encoded>
	</item>
	<item>
		<title>作者：绝望的祖父</title>
		<link>https://tonybai.com/2018/07/15/hello-go-module/#comment-7264</link>
		<dc:creator>绝望的祖父</dc:creator>
		<pubDate>Wed, 05 Sep 2018 09:16:35 +0000</pubDate>
		<guid isPermaLink="false">https://tonybai.com/?p=2625#comment-7264</guid>
		<description>vscode-go 插件目前有没有支持Go module的办法？</description>
		<content:encoded><![CDATA[<p>vscode-go 插件目前有没有支持Go module的办法？</p>
]]></content:encoded>
	</item>
</channel>
</rss>
