{"type":"rich","url":"https://blog1.mammb.com/entry/20091205/1260038421","provider_url":"https://hatena.blog","image_url":null,"author_name":"Naotsugu","description":"\u69cb\u9020\u4f53 type T struct { a int; c string; } t := &T{ 7, \"abc\" }; \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9 struct \u304c\u30c7\u30fc\u30bf\u578b\u3092\u5b9a\u7fa9\u3059\u308b\u306e\u306b\u5bfe\u3057\u3066 interface \u306f\u30e1\u30bd\u30c3\u30c9\u30bb\u30c3\u30c8\u3092\u5b9a\u7fa9\u3059\u308b\u3002\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306f\u30e1\u30bd\u30c3\u30c9\u306e\u5f15\u6570\u3068\u3057\u3066\u6307\u5b9a\u3059\u308b\u306a\u3069\u3001\u578b\u3068\u3057\u3066\u5229\u7528\u3067\u304d\u308b\u3002 type ReadWrite interface { Read(b Buffer) bool; Write(b Buffer) bool; } \u4e0a\u8a18\u306f ReadWrite \u3068\u3044\u3046\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u3002\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u5b9f\u88c5\u306f\u3001\u3042\u308b\u578bT\u306e\u30e1\u30bd\u30c3\u30c9\u3068\u3057\u3066\u30b7\u30b0\u30cd\u30c1\u30e3\u3092\u63c3\u3048\u305f\u3082\u306e\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u2026","author_url":"https://blog.hatena.ne.jp/Naotsugu/","blog_url":"https://blog1.mammb.com/","title":"Go \u8a00\u8a9e\u4ed5\u69d8\u306e\u7c21\u5358\u306a\u307e\u3068\u3081 3","width":"100%","categories":["Go"],"blog_title":"A Memorandum","height":"190","published":"2009-12-05 03:40:21","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog1.mammb.com%2Fentry%2F20091205%2F1260038421\" title=\"Go \u8a00\u8a9e\u4ed5\u69d8\u306e\u7c21\u5358\u306a\u307e\u3068\u3081 3 - A Memorandum\" 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"}