<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomotomo1129</author_name>
  <author_url>https://blog.hatena.ne.jp/tomotomo1129/</author_url>
  <blog_title>Web開発における知見共有系ページ</blog_title>
  <blog_url>https://job-info.hateblo.jp/</blog_url>
  <categories>
    <anon>Go言語</anon>
  </categories>
  <description>Go言語のmake関数で変数の初期化 スライスの初期化 マップの初期化 チャネルの初期化 まとめ Go言語のmake関数で変数の初期化 Go言語におけるmake関数は、スライス、マップ、チャネルなどの初期化に使用される組み込み関数です。 この関数は、変数を作成する際にその型に適した初期状態をセットアップし、使用する準備を整えます。 makeは主に次の3つの型に対して利用されます。 スライスの初期化 スライスはGo言語で非常に重要なデータ構造で、動的にサイズが変更可能な配列です。 make関数を用いてスライスを初期化する際、次のような構文を使用します。 slice := make([]int, …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjob-info.hateblo.jp%2Fentry%2F2024%2F08%2F27%2F225248&quot; title=&quot;Go言語のmake関数で変数の初期化 - Web開発における知見共有系ページ&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>2024-08-27 22:52:49</published>
  <title>Go言語のmake関数で変数の初期化</title>
  <type>rich</type>
  <url>https://job-info.hateblo.jp/entry/2024/08/27/225248</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
