<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ema_hiro</author_name>
  <author_url>https://blog.hatena.ne.jp/ema_hiro/</author_url>
  <blog_title>emahiro/b.log</blog_title>
  <blog_url>https://ema-hiro.hatenablog.com/</blog_url>
  <categories>
    <anon>Go</anon>
  </categories>
  <description>golang.tokyoが公開しているCodeLabをやってみました。 golangtokyo.github.io 普段からあまりコードの静的解析をやっているわけではありませんが、Goで静的解析をする場合にはどうするのか、というのを学ぶにはとてもいい教材でした。 特に「構文解析」の章が勉強になって、以下の部分 // ファイルごとのトークンの位置を記録するFileSetを作成する fset := token.NewFileSet() // ファイル単位で構文解析を行う f, err := parser.ParseFile(fset, &quot;_gopher.go&quot;, nil, 0) if err !=…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fema-hiro.hatenablog.com%2Fentry%2F2019%2F02%2F11%2F185551&quot; title=&quot;『静的解析をはじめよう - Gopherをさがせ！』をやった - emahiro/b.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>2019-02-11 18:55:51</published>
  <title>『静的解析をはじめよう - Gopherをさがせ！』をやった</title>
  <type>rich</type>
  <url>https://ema-hiro.hatenablog.com/entry/2019/02/11/185551</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
