<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>write on 戲中話</title><link>https://blog.iphpo.com/tags/write/</link><description>Recent content in write on 戲中話</description><generator>Hugo</generator><language>zh-tw</language><managingEditor>herb09638@gmail.com (Herb)</managingEditor><webMaster>herb09638@gmail.com (Herb)</webMaster><lastBuildDate>Wed, 15 Mar 2017 00:00:00 +0800</lastBuildDate><atom:link href="https://blog.iphpo.com/tags/write/index.xml" rel="self" type="application/rss+xml"/><item><title>如何在 Golang 讀取/寫入檔案</title><link>https://blog.iphpo.com/blog/2017/03/%E5%A6%82%E4%BD%95%E5%9C%A8-golang-%E8%AE%80%E5%8F%96%E5%AF%AB%E5%85%A5%E6%AA%94%E6%A1%88-how-to-read-write-file-using-golang/</link><pubDate>Wed, 15 Mar 2017 00:00:00 +0800</pubDate><author>herb09638@gmail.com (Herb)</author><guid>https://blog.iphpo.com/blog/2017/03/%E5%A6%82%E4%BD%95%E5%9C%A8-golang-%E8%AE%80%E5%8F%96%E5%AF%AB%E5%85%A5%E6%AA%94%E6%A1%88-how-to-read-write-file-using-golang/</guid><description>&lt;p&gt;這篇是在 &lt;a href="http://stackoverflow.com/questions/1821811/how-to-read-write-from-to-file-using-golang"&gt;stackoverflow&lt;/a&gt; 上看到的&lt;/p&gt;
&lt;p&gt;覺得滿實用&lt;/p&gt;
&lt;p&gt;在Golang要操作檔案有三種方法&lt;/p&gt;
&lt;p&gt;第一種就是操作檔案的指標&lt;/p&gt;
&lt;p&gt;跟php的fopen差不多&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 18pt; color: #ff0000;"&gt;&lt;strong&gt;以下是第一段程式碼&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>