{"height":"190","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaneshin.hateblo.jp%2Fentry%2F2017%2F02%2F18%2F175738\" title=\"golang\u3067AB\u30c6\u30b9\u30c8\u306e\u632f\u308b\u821e\u3044\u3092\u5b9f\u88c5\u3059\u308b - at kaneshin\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","width":"100%","blog_url":"https://kaneshin.hateblo.jp/","published":"2017-02-18 17:57:38","description":"golang\u306b\u9650\u3089\u306a\u3044\u3093\u3067\u3059\u304c\u3001AB\u30c6\u30b9\u30c8\u306e\u632f\u308b\u821e\u3044\u3092\u3061\u3083\u3093\u3068\u3057\u305f\u8a2d\u8a08\u306e\u3082\u3068\u5b9f\u88c5\u3059\u308b\u306e\u3063\u3066\u96e3\u3057\u3044\u3068\u601d\u3063\u3066\u3044\u307e\u3059\u3002 \u3088\u304f\u3042\u308b\u30d1\u30bf\u30fc\u30f3\u3068\u3057\u3066\u306f\u3001User\u3068\u3044\u3046\u69cb\u9020\u4f53\u304c\u3042\u3063\u3066\u3001\u305d\u308c\u306b\u5bfe\u3057\u3066AB\u30c6\u30b9\u30c8\u306b\u3088\u308b\u632f\u308b\u821e\u3044\u3092\u5909\u3048\u308b\u3088\u3046\u306b\u5b9f\u88c5\u3092\u3059\u308b\u3053\u3068\u304b\u3068\u601d\u3044\u307e\u3059\u3002 User type User struct { ID int Name string } \u95a2\u6570\u3092\u751f\u3084\u3059 \u3042\u307e\u308a\u8003\u3048\u305a\u306b\u95a2\u6570\u3092\u4f5c\u3063\u3066\u3044\u304f\u65b9\u91dd func (u User) IsFoo() bool { return u.ID%10 == 0 } func (u User) IsBar() bool { return u.ID%10 == 1 } fun\u2026","title":"golang\u3067AB\u30c6\u30b9\u30c8\u306e\u632f\u308b\u821e\u3044\u3092\u5b9f\u88c5\u3059\u308b","provider_name":"Hatena Blog","blog_title":"at kaneshin","author_name":"laplus-knsn","url":"https://kaneshin.hateblo.jp/entry/2017/02/18/175738","author_url":"https://blog.hatena.ne.jp/laplus-knsn/","version":"1.0","image_url":null,"categories":["Golang"]}