<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ToQoz</author_name>
  <author_url>https://blog.hatena.ne.jp/ToQoz/</author_url>
  <blog_title>コンドルが飛んでいる。</blog_title>
  <blog_url>https://toqoz.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>db, err := sql.Open(&quot;mysql&quot;, &quot;user:passward@/dbname?parseTime=true&quot;) みたいな感じで、parseTime=trueを設定してやる必要がある。https://github.com/go-sql-driver/mysql/blob/v1.1/packets.go#L649 ただ、これだとdatetime-&gt;time.Timeにparseする際に標準時として行なわれるので、parseTime=true&amp;loc=SOME_LOCATIONと、locを設定する必要がある。 古いバージョンだと、loc=Asia/Tokyoとかをparse…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftoqoz.hateblo.jp%2Fentry%2F2013%2F11%2F06%2F115540&quot; title=&quot;github.com/go-sql-driver/mysql での datetimeとtime.Timeのマッピング - コンドルが飛んでいる。&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>2013-11-06 11:55:40</published>
  <title>github.com/go-sql-driver/mysql での datetimeとtime.Timeのマッピング</title>
  <type>rich</type>
  <url>https://toqoz.hateblo.jp/entry/2013/11/06/115540</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
