<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>lirlia</author_name>
  <author_url>https://blog.hatena.ne.jp/lirlia/</author_url>
  <blog_title>フラミナル</blog_title>
  <blog_url>https://blog.framinal.life/</blog_url>
  <categories>
    <anon>Golang</anon>
  </categories>
  <description>Go のスライスは動的配列のように使えるがその実態はただの配列のビューになっている。 スライスからスライスを生成する時においては、同じデータを参照している。 s1 := make([]int, 0, 6) s1 = append(s1, 1, 2, 3) s2 := s1[1:3] // 2, 3 // ここに s1 = append(s1, 4) とすると // 裏側の配列（back array) には 1,2,3,4 となるが // s1 は len(4) なので全て表示 [1,2,3,4] // s2 は len(2) なので [2, 3] となる この状態で s2 = append(s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.framinal.life%2Fentry%2F2023%2F11%2F09%2F142001&quot; title=&quot;Go のスライスの挙動(Go言語100Tips No.20 / No.25) - フラミナル&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/l/lirlia/20230915/20230915220538.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-11-09 14:20:01</published>
  <title>Go のスライスの挙動(Go言語100Tips No.20 / No.25)</title>
  <type>rich</type>
  <url>https://blog.framinal.life/entry/2023/11/09/142001</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
