<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kakts</author_name>
  <author_url>https://blog.hatena.ne.jp/kakts/</author_url>
  <blog_title>kakts-log</blog_title>
  <blog_url>https://kakts.dev/</blog_url>
  <categories>
    <anon>Go</anon>
    <anon>プログラミング</anon>
    <anon>テクノロジー</anon>
  </categories>
  <description>仕事で Goを使う機会があったので、基本から勉強していて、変数宣言について気になった点についてメモがてらまとめます。 Golangにおける変数宣言において、 varをつかって変数宣言をするのが一般的 package main import ( &quot;fmt&quot; ) func main() { // int型で宣言 初期値指定なし var i int // iとjをint型で宣言 初期値指定なし var i, j int // iとjをint型で宣言 初期値指定あり var i, j int = 1, 2 } 上記の方法だと変数毎に型を指定しましたが、 := をつかえば、型を指定せずに、暗黙的に変数宣…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkakts.dev%2Fentry%2F2017%2F02%2F27%2F231610&quot; title=&quot;Go 変数宣言についてのまとめ - kakts-log&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>2017-02-27 23:16:10</published>
  <title>Go 変数宣言についてのまとめ</title>
  <type>rich</type>
  <url>https://kakts.dev/entry/2017/02/27/231610</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
