<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuyanari</author_name>
  <author_url>https://blog.hatena.ne.jp/yuyanari/</author_url>
  <blog_title>天空のたぐちゃんラボ</blog_title>
  <blog_url>https://taglibrary.hatenablog.com/</blog_url>
  <categories>
    <anon>プログラミング-Go Lang</anon>
    <anon>プログラミング</anon>
    <anon>Go Lang</anon>
  </categories>
  <description>Go言語で文字列が日付形式か判定！time パッケージを使いこなす 1. time.Parse() 関数を使った基本的な判定 2. 複数の日付フォーマットに対応する 3. より厳密な判定のために：ParseStrictLayout() 4. タイムゾーンを考慮した判定 まとめ Go言語で文字列が日付形式か判定！time パッケージを使いこなす Go言語でユーザー入力やファイルから読み込んだ文字列が、特定の日付形式であるかどうかを判定したい場面は少なくありません。例えば、API から受け取った日付文字列のバリデーションや、ログファイルの日付情報の解析などが挙げられます。 この記事では、Go言語の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftaglibrary.hatenablog.com%2Fentry%2F2025%2F04%2F18%2F180150&quot; title=&quot;Go言語 日付チェック：様々なフォーマットに対応する判定テクニック - 天空のたぐちゃんラボ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/y/yuyanari/20250418/20250418180120.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-04-18 18:01:50</published>
  <title>Go言語 日付チェック：様々なフォーマットに対応する判定テクニック</title>
  <type>rich</type>
  <url>https://taglibrary.hatenablog.com/entry/2025/04/18/180150</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
