<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ema_hiro</author_name>
  <author_url>https://blog.hatena.ne.jp/ema_hiro/</author_url>
  <blog_title>emahiro/b.log</blog_title>
  <blog_url>https://ema-hiro.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
    <anon>Test</anon>
  </categories>
  <description>Overview go-cmp の cmp.Option How to use cmp.Option cmp.Options の中に option で指定したい設定を入れる cmp.Option 単体を指定する slice にして指定する Go の可変長引数の指定方法について cmp.Options をそのまま Diff に指定できるわけ まとめ Overview Go Test においてテスト対象の出力結果と期待する値を比較する手法として reflect.DeepEqual ではなく go-cmp を使うことが多くなっていると思いますが、この go-cmp の cmp.Option が可変長…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fema-hiro.hatenablog.com%2Fentry%2F2021%2F08%2F17%2F045243&quot; title=&quot;go-cmp の cmp.Option と可変長引数 `...` について少し調べた話 - emahiro/b.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>2021-08-17 04:52:43</published>
  <title>go-cmp の cmp.Option と可変長引数 `...` について少し調べた話</title>
  <type>rich</type>
  <url>https://ema-hiro.hatenablog.com/entry/2021/08/17/045243</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
