<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kakts</author_name>
  <author_url>https://blog.hatena.ne.jp/kakts/</author_url>
  <blog_title>kakts-log</blog_title>
  <blog_url>https://kakts.dev/</blog_url>
  <categories>
    <anon>Golang</anon>
    <anon>golang</anon>
  </categories>
  <description>概要 os.Exit()を実行した際、プログラムが即座に終了するため、defer された関数が呼ばれない。 これについて整理します。 os.Exit() ドキュメントを確認すると、defer された関数が呼ばれないことも明記されている Exit causes the current program to exit with the given status code. Conventionally, code zero indicates success, non-zero an error. The program terminates immediately; deferred funct…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkakts.dev%2Fentry%2F2023%2F10%2F10%2F231850&quot; title=&quot; os.Exit()とdeferされた関数について - kakts-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-10-10 23:18:50</published>
  <title> os.Exit()とdeferされた関数について</title>
  <type>rich</type>
  <url>https://kakts.dev/entry/2023/10/10/231850</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
