When I first started programming in Go, I find Go interfaces a confusing topic to understand. After many hours of reading and researching, I have produced this article as an attempt to simplify Go interfaces for budding Gophers.
In this tutorial, I aim to answer the following questions with plain, simple English and childlike examples.
- What is a Go interface? How do you use it?