{"provider_name":"Hatena Blog","author_url":"https://blog.hatena.ne.jp/zetamatta/","version":"1.0","published":"2024-04-12 14:57:28","description":"\u305f\u3076\u3093\u3001\u6709\u8b58\u8005\u3067\u306f\u5e38\u8b58\u306a\u3093\u3060\u308d\u3046\u3051\u308c\u3069\u3082\u3001\u6700\u8fd1\u307e\u3067\u8a8d\u8b58\u3067\u304d\u3066\u3044\u306a\u304b\u3063\u305f\u4ef6\u306b\u3064\u3044\u3066\u306e\u30dd\u30a8\u30e0 type T struct { // : } func (t *T) Method(){ // : } var t T \u3068\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001 var f func() = t.Method \u3068\u3044\u3046\u4ee3\u5165\u304c\u53ef\u80fd\u3002\u3053\u308c\u306e\u4f55\u304c\u5b09\u3057\u3044\u306e\u304b\u3068\u3044\u3046\u3068\u3001\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u3092\u6e21\u3055\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u6642\u306b\u3001\u5177\u4f53\u7684\u306a\u5024\u3092\u3042\u308f\u305b\u3066\u5f15\u304d\u6e21\u3059\u3053\u3068\u304c\u53ef\u80fd\u3060\u3068\u3044\u3046\u70b9\u3002 \u6614\u306e\u81ea\u5206\u306f\u305d\u3046\u3044\u3046\u306e\u3092\u77e5\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u547c\u3073\u51fa\u3057\u5143\u3067 context.WithValue \u3067\u5f15\u304d\u6e21\u3059\u3079\u304d\u5024\u3092 context.Context \u306b\u6dfb\u4ed8\u3057\u3001\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u5074\u306f c\u2026","title":" \u4eca\u66f4\u3060\u3051\u3069\u3001Go \u3067\u306f (\u5177\u4f53\u7684\u306a\u30ec\u30b7\u30fc\u30d0\u30fc.\u30e1\u30bd\u30c3\u30c9\u540d) \u3092\u300c\u95a2\u6570\u30dd\u30a4\u30f3\u30bf\u300d\u6271\u3044\u51fa\u6765\u305f\u4ef6","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzetamatta.hatenablog.com%2Fentry%2F2024%2F04%2F12%2F145728\" title=\" \u4eca\u66f4\u3060\u3051\u3069\u3001Go \u3067\u306f (\u5177\u4f53\u7684\u306a\u30ec\u30b7\u30fc\u30d0\u30fc.\u30e1\u30bd\u30c3\u30c9\u540d) \u3092\u300c\u95a2\u6570\u30dd\u30a4\u30f3\u30bf\u300d\u6271\u3044\u51fa\u6765\u305f\u4ef6 - \u6a19\u6e96\u611a\u75f4\u51fa\u529b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://zetamatta.hatenablog.com/entry/2024/04/12/145728","categories":["\u30dd\u30a8\u30e0","go"],"blog_title":"\u6a19\u6e96\u611a\u75f4\u51fa\u529b","type":"rich","author_name":"zetamatta","width":"100%","height":"190","blog_url":"https://zetamatta.hatenablog.com/","image_url":null}