<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syossan</author_name>
  <author_url>https://blog.hatena.ne.jp/syossan/</author_url>
  <blog_title>生涯未熟</blog_title>
  <blog_url>https://syossan.hateblo.jp/</blog_url>
  <categories>
  </categories>
  <description>ioutil.ReadDirでディレクトリ内を走査した時にシンボリックリンクがあった場合、LStatとStatのどちらでFileInfoが返ってくるか分からなかったため試してみた。 testディレクトリ内に別のディレクトリに対してシンボリックリンクを張ったものを置いてあります。 package main import ( &quot;fmt&quot; &quot;io/ioutil&quot; &quot;os&quot; &quot;path/filepath&quot; ) func main() { currentDir, err := os.Getwd() if err != nil {} dirPath := filepath.Join(currentDir,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsyossan.hateblo.jp%2Fentry%2F2019%2F01%2F13%2F225105&quot; title=&quot;ioutil.ReadDirでのシンボリックリンクの扱い - 生涯未熟&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>2019-01-13 22:51:05</published>
  <title>ioutil.ReadDirでのシンボリックリンクの扱い</title>
  <type>rich</type>
  <url>https://syossan.hateblo.jp/entry/2019/01/13/225105</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
