<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kwbtblog</author_name>
  <author_url>https://blog.hatena.ne.jp/kwbtblog/</author_url>
  <blog_title>新しいことにはウェルカム</blog_title>
  <blog_url>https://www.kwbtblog.com/</blog_url>
  <categories>
    <anon>Go</anon>
    <anon>Golang</anon>
    <anon>Go言語</anon>
    <anon>io</anon>
    <anon>stream</anon>
    <anon>ストリーム</anon>
    <anon>ファイル</anon>
  </categories>
  <description>Go言語は、シンプルな関数を組み合わせてプログラミングをすることが多く、また、関数毎にエラーチェックが発生するので、全般的にコードが長くなりがちです。 ちょっとした事をしたい時でも、コードをそれなりに書く必要があるのですが、毎回ゼロから書くのは面倒なので、よくやる処理を自分コピペ用にメモしておこうと思います。 ここでは、Go言語で、ファイル(IO)を使って読み書きする方法の自分用メモを記載しました。 はじめに ioについて Go言語では、入出力はioパッケージとして抽象化されていて、ioパッケージを使って読み書きプログラムを記述します。 ファイルはio.Reader・io.Writerインター…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.kwbtblog.com%2Fentry%2F2020%2F05%2F07%2F014836&quot; title=&quot;Go言語でファイル・IO・ストリームを使った読み書き方法のメモ - 新しいことにはウェルカム&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kwbtblog/20200406/20200406012313.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-07 01:48:36</published>
  <title>Go言語でファイル・IO・ストリームを使った読み書き方法のメモ</title>
  <type>rich</type>
  <url>https://www.kwbtblog.com/entry/2020/05/07/014836</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
