<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>naoya</author_name>
  <author_url>https://blog.hatena.ne.jp/naoya/</author_url>
  <blog_title>naoyaのはてなダイアリー</blog_title>
  <blog_url>https://naoya-2.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>Go にはスクリプト言語でいうところの variable = a || b のような構文や三項演算子がないようなので、 var accessKeyId, secretAccessKey string if config[&quot;aws_access_key_id&quot;] == &quot;&quot; { accessKeyId = os.Getenv(&quot;AWS_ACCESS_KEY_ID&quot;) secretAccessKey = os.Getenv(&quot;AWS_SECRET_ACCESS_KEY&quot;) } else { accessKeyId = config[&quot;aws_access_key_id&quot;] secretAccess…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnaoya-2.hatenadiary.org%2Fentry%2F20140914%2F1410659609&quot; title=&quot; 質問: Go の変数初期化に伴う条件分岐をもっと良い感じに書きたい - naoyaのはてなダイアリー&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>2014-09-14 10:53:29</published>
  <title> 質問: Go の変数初期化に伴う条件分岐をもっと良い感じに書きたい</title>
  <type>rich</type>
  <url>https://naoya-2.hatenadiary.org/entry/20140914/1410659609</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
