<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>chiroruxx</author_name>
  <author_url>https://blog.hatena.ne.jp/chiroruxx/</author_url>
  <blog_title>あしたからがんばる</blog_title>
  <blog_url>https://toyo.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>Goの勉強をやり始めたのでメモ。 「プログラミング言語 Go」を読んでる。 配列 固定長で型が同じ必要がある 以下のように宣言できる var a [5]int var b [5]int{1, 2, 3, 4, 5} var c [...]int{1, 2, 3, 4, 5} var d [...]int{99: -1} 初期値がない場合はそれぞれの要素にゼロ値が適用される == で比較可能 関数の引数として配列を渡すと、参照ではなくコピーが渡される スライス 可変長で型が同じ必要がある スライスにはポインタ、長さ、容量がある JavaのVectorみたいなもの？ 配列の部分配列みたいなもの ス…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoyo.hatenablog.jp%2Fentry%2F2023%2F01%2F23%2F162933&quot; title=&quot;Goの勉強 コンポジット型 - あしたからがんばる&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>2023-01-23 16:29:33</published>
  <title>Goの勉強 コンポジット型</title>
  <type>rich</type>
  <url>https://toyo.hatenablog.jp/entry/2023/01/23/162933</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
