<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kandennti</author_name>
  <author_url>https://blog.hatena.ne.jp/kandennti/</author_url>
  <blog_title>C#ATIA</blog_title>
  <blog_url>https://kantoku.hatenablog.com/</blog_url>
  <categories>
    <anon>Golang</anon>
  </categories>
  <description>こちらの続きです。 Go言語のスライスに悩む - C#ATIAそう、まだ&quot;A tour of Go&quot;をやっているんですよ・・・ 前回はcap意識する必要ないよね？って書きましたが、さっそく必要な場面のサンプルが 出てきました。こちらです。 A Tour of Go cap出てきてます。そこで、こんな風に変えてみます。 func main() { c := make(chan int, 10) fmt.Printf(&quot;Len: %v Cap: %v\n&quot;,len(c), cap(c)) //追加 go fibonacci(cap(c), c) for i := range c { fmt.Pri…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkantoku.hatenablog.com%2Fentry%2F2025%2F06%2F06%2F235141&quot; title=&quot;Go言語のスライスに悩む2 - C#ATIA&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/kandennti/20250606/20250606225007.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-06-06 23:51:41</published>
  <title>Go言語のスライスに悩む2</title>
  <type>rich</type>
  <url>https://kantoku.hatenablog.com/entry/2025/06/06/235141</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
