<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>harukin721</author_name>
  <author_url>https://blog.hatena.ne.jp/harukin721/</author_url>
  <blog_title>harukin721</blog_title>
  <blog_url>https://harukin721.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Interface(実装を持たない抽象型であり、メソッドのシグネチャを定義することで、他の型がそのインターフェースを実装できる) と Struct(type指定されたフィールドの集合であり、データの構造を表現する) k8sでよく使われる Reconcilerのinterfaceで、ReconcileメソッドがContextとRequestを引数に取り、Resultとerrorを返す。 type Reconciler interface { Reconcile(context.Context, Request) (Result, error)} Structの簡単な例 Personというstru…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fharukin721.hatenablog.com%2Fentry%2F2023%2F07%2F25%2F224136&quot; title=&quot;Go の Interface と Struct - harukin721&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-07-25 22:41:36</published>
  <title>Go の Interface と Struct</title>
  <type>rich</type>
  <url>https://harukin721.hatenablog.com/entry/2023/07/25/224136</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
