Go interfaces are not inheritance

Yunjin Lee
Thu, 17 Jul 2025 10:40:04 +0000

In the Go language, interfaces signify compositional code reuse rather than inheritance. This document explores common misunderstandings regarding inheritance in Go and provides guidelines for writing correct code.