{"version":"1.0","type":"rich","author_url":"https://blog.hatena.ne.jp/harukin721/","width":"100%","categories":[],"provider_name":"Hatena Blog","image_url":null,"height":"190","author_name":"harukin721","provider_url":"https://hatena.blog","published":"2023-07-25 22:41:36","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharukin721.hatenablog.com%2Fentry%2F2023%2F07%2F25%2F224136\" title=\"Go \u306e Interface \u3068 Struct - harukin721\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Go \u306e Interface \u3068 Struct","url":"https://harukin721.hatenablog.com/entry/2023/07/25/224136","blog_title":"harukin721","blog_url":"https://harukin721.hatenablog.com/","description":"Interface(\u5b9f\u88c5\u3092\u6301\u305f\u306a\u3044\u62bd\u8c61\u578b\u3067\u3042\u308a\u3001\u30e1\u30bd\u30c3\u30c9\u306e\u30b7\u30b0\u30cd\u30c1\u30e3\u3092\u5b9a\u7fa9\u3059\u308b\u3053\u3068\u3067\u3001\u4ed6\u306e\u578b\u304c\u305d\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u5b9f\u88c5\u3067\u304d\u308b) \u3068 Struct(type\u6307\u5b9a\u3055\u308c\u305f\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u96c6\u5408\u3067\u3042\u308a\u3001\u30c7\u30fc\u30bf\u306e\u69cb\u9020\u3092\u8868\u73fe\u3059\u308b) k8s\u3067\u3088\u304f\u4f7f\u308f\u308c\u308b Reconciler\u306einterface\u3067\u3001Reconcile\u30e1\u30bd\u30c3\u30c9\u304cContext\u3068Request\u3092\u5f15\u6570\u306b\u53d6\u308a\u3001Result\u3068error\u3092\u8fd4\u3059\u3002 type Reconciler interface { Reconcile(context.Context, Request) (Result, error)} Struct\u306e\u7c21\u5358\u306a\u4f8b Person\u3068\u3044\u3046stru\u2026"}