<?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>
  </categories>
  <description>Overview errors.Join について パフォーマンスについて Practice まとめ Overview Go 1.20 から errors パッケージに導入された errors.Join は複数のエラーを詰め込んでも詰め込んだエラーそれぞれを Unwrap して取り出せる。 fmt.Errorf でも複数のエラーを wrap できるようになっている。 複数のエラーを wrap してもそれぞれ unwrap して取り出せるので Is 判定を使うことができる。 errors.Join について Go1.20 から導入された機能です。 pkg.go.dev 以下のフューチャーさんのブ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fema-hiro.hatenablog.com%2Fentry%2F2023%2F02%2F20%2F030017&quot; title=&quot;Go1.20 から入った errors.Join が実は便利そうだった - 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>2023-02-20 03:00:17</published>
  <title>Go1.20 から入った errors.Join が実は便利そうだった</title>
  <type>rich</type>
  <url>https://ema-hiro.hatenablog.com/entry/2023/02/20/030017</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
