{"description":"AST\u3092\u89e6\u308b\u969b\u306b\u30b3\u30e1\u30f3\u30c8\u306e\u53d6\u6271\u3044\u304c\u3060\u308b\u3044\u3068\u4e00\u90e8\u3067\u8a71\u984c\u3067\u3059\u304c\u3002\u30b3\u30e1\u30f3\u30c8\u306e\u4ed6\u306b\u3082\u53d6\u6271\u3044\u304c\u9762\u5012\u306a\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u308c\u304c\u6539\u884c\u306e\u60c5\u5831\u3067\u3059\u3002\u3068\u3044\u3046\u3088\u308a\u3082\u30b3\u30fc\u30c9\u306e\u5b57\u9762\u4e0a\u306e\u60c5\u5831\u3092\u53d6\u308a\u9664\u3044\u3066\u53d6\u308a\u6271\u3044\u3084\u3059\u304f\u3057\u305f\u72b6\u614b\u304cAST\u306a\u306e\u3067\u88c5\u98fe\u7528\u306e\u60c5\u5831\u304c\u5165\u3063\u3066\u3044\u306a\u3044\u3068\u3044\u3046\u306e\u306f\u81ea\u7136\u306a\u3053\u3068\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002 \u3067\u306f\u3069\u3053\u306b\u5165\u3063\u3066\u3044\u308b\u306e\u304b\uff1f\u3068\u3044\u3046\u3068token.FileSet\u304c\u3082\u3064token.File\u306elines\u3068\u8a00\u3046\u5834\u6240\u306b\u3042\u308a\u307e\u3059\u3002 \u516c\u958b\u3055\u308c\u3066\u3044\u306a\u3044\u30d5\u30a3\u30fc\u30eb\u30c9\u306a\u306e\u3067\u53d6\u3063\u3066\u304f\u308b\u306e\u304c\u3061\u3087\u3063\u3068\u5927\u5909\u3067\u3059\u304c\u3002 // get *token.File from *ast.File tokenf := fset.File(f.Pos()) fmt.Pr\u2026","image_url":null,"width":"100%","published":"2018-03-03 13:06:37","version":"1.0","height":"190","url":"https://pod.hatenablog.com/entry/2018/03/03/130637","provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/podhmo/","categories":["golang","ast"],"blog_title":"podhmo's diary","type":"rich","author_name":"podhmo","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpod.hatenablog.com%2Fentry%2F2018%2F03%2F03%2F130637\" title=\"go\u306e\u30b3\u30fc\u30c9\u306e\u6539\u884c\u306e\u60c5\u5831\u306fAST\u306b\u306f\u542b\u307e\u308c\u305a\u3001token.FileSet\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u3068\u3044\u3046\u8a71 - podhmo&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://pod.hatenablog.com/","provider_url":"https://hatena.blog","title":"go\u306e\u30b3\u30fc\u30c9\u306e\u6539\u884c\u306e\u60c5\u5831\u306fAST\u306b\u306f\u542b\u307e\u308c\u305a\u3001token.FileSet\u306b\u683c\u7d0d\u3055\u308c\u3066\u3044\u308b\u3068\u3044\u3046\u8a71"}