{"categories":["golang","memo"],"url":"https://pod.hatenablog.com/entry/2018/03/21/220029","blog_url":"https://pod.hatenablog.com/","height":"190","published":"2018-03-21 22:04:40","title":"go/types\u5185\u3067\u7279\u5b9a\u306eobject\u306e\u4fdd\u6301\u3057\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/podhmo/","author_name":"podhmo","type":"rich","width":"100%","version":"1.0","description":"go/types\u5185\u3067\u7279\u5b9a\u306eobject\u306e\u4fdd\u6301\u3057\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u306e\u30e1\u30e2\u3002 \u4ee5\u4e0b\u3092\u77e5\u3063\u3066\u304a\u3051\u3070\u826f\u3044\u3002 scope.Lookup(name)\u3067types.Object\u304c\u53d6\u308c\u308b struct\u3068\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308bmethod\u306e\u4e00\u89a7\u306e\u7d44\u306ftypes.Named\u3068\u3044\u3046struct\u3067\u7ba1\u7406\u3055\u308c\u3066\u3044\u308b types.Named\u304b\u3089\u5168\u3066\u306e\u30e1\u30bd\u30c3\u30c9\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\u306e\u306f\u7c21\u5358 scope.Lookup(name)\u3067types.Object\u304c\u53d6\u308c\u308b scope.Lookup(name)\u3067types.Object\u304c\u53d6\u308c\u308b\u3002\u4f8b\u3048\u3070bytes.Buffer\u304c\u53d6\u308a\u305f\u3044\u5834\u5408\u306b\u306f\u3001bytes\u306etypes.Package\u3067\u4ee5\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpod.hatenablog.com%2Fentry%2F2018%2F03%2F21%2F220029\" title=\"go/types\u5185\u3067\u7279\u5b9a\u306eobject\u306e\u4fdd\u6301\u3057\u3066\u3044\u308b\u30e1\u30bd\u30c3\u30c9\u306e\u4e00\u89a7\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5 - 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>","provider_name":"Hatena Blog","image_url":null,"blog_title":"podhmo's diary"}