<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomotomo1129</author_name>
  <author_url>https://blog.hatena.ne.jp/tomotomo1129/</author_url>
  <blog_title>Web開発における知見共有系ページ</blog_title>
  <blog_url>https://job-info.hateblo.jp/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>Go言語のtry-catchについて Go言語がtry-catch文を持たないことのメリット Go言語がtry-catch文を持たないことのデメリット Go言語のtry-catchについて Go言語には、他の言語ではよくあるようなtry-catch文は存在しません。 代わりに、Goはエラー処理に専用の仕組みが備わっています。 通常、関数がエラーを返すかどうかを確認して、エラーが発生した場合に適切な処理を行います。Goでは、通常、関数がエラーを返す場合、2つの戻り値を持つことが一般的です。 1つ目の戻り値は関数の結果であり、2つ目の戻り値はエラーです。 エラーがnilであれば、エラーは発生してい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjob-info.hateblo.jp%2Fentry%2F2024%2F02%2F05%2F223329&quot; title=&quot;Go言語のtry-catchについて - Web開発における知見共有系ページ&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>2024-02-05 22:33:29</published>
  <title>Go言語のtry-catchについて</title>
  <type>rich</type>
  <url>https://job-info.hateblo.jp/entry/2024/02/05/223329</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
