The underlying magic of Go interfaces
01 Deconstruction: The Underlying Structure of the Interface The interface can flexibly adapt to different types, which stems from the “dual-column storage” logic of its underlying design. However, there are key differences in the structure between empty and non-empty interfaces, which is the basis for understanding the characteristics of the interface. 1.1 Empty Interface (eface): … Read more