<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nkzsdy</author_name>
  <author_url>https://blog.hatena.ne.jp/nkzsdy/</author_url>
  <blog_title>安全２</blog_title>
  <blog_url>https://nkzsdy.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>ここ最近ちゃんとGoやろうと思って、A Tour of Go(日本語版)をやっているんですが、Appending to a sliceの章にあるサンプルコードの実行結果がローカル環境(macOS)のGoとGo Playgroundで違う現象に遭遇してしまった。コードは以下。 append.go package main import &quot;fmt&quot; func main() { var s []int printSlice(s) // append works on nil slices. s = append(s, 0) printSlice(s) // The slice grows as ne…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnkzsdy.hatenablog.jp%2Fentry%2F2019%2F08%2F23%2F123527&quot; title=&quot;ローカル環境(macOS)のGoとGo Playgroundで同一コードの実行結果が異なる - 安全２&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>2019-08-23 12:35:27</published>
  <title>ローカル環境(macOS)のGoとGo Playgroundで同一コードの実行結果が異なる</title>
  <type>rich</type>
  <url>https://nkzsdy.hatenablog.jp/entry/2019/08/23/123527</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
