<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zehnpaard</author_name>
  <author_url>https://blog.hatena.ne.jp/zehnpaard/</author_url>
  <blog_title>Arantium Maestum</blog_title>
  <blog_url>https://zehnpaard.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
    <anon>プログラミング言語</anon>
  </categories>
  <description>以前Pythonのfor-loopでの変数スコープについてちょこっと書いた。 zehnpaard.hatenablog.com 最近Go言語でも似たような（？）問題があることを知ったので備忘録として残しておく。ちなみに私はGo言語は資料を少し読んだことはあるが書いたことはないので正確性は担保できない・・・ こちらのGoのGithub Issueに詳しい： github.com var all []*Item for _, item := range items { all = append(all, &amp;item) } などとやるとallに入っているポインタ（appendしているのが&amp;itemで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2022%2F10%2F17%2F124243&quot; title=&quot;Goのforループの変数スコープについてのメモ - Arantium Maestum&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-10-17 12:42:43</published>
  <title>Goのforループの変数スコープについてのメモ</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2022/10/17/124243</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
