Introduction
This lesson gives an introduction to interfaces in Go using an example, also explains how to define a new type that would implement the same interface.
Definition
An interface type is defined by a set of methods. A value of interface ...
Get hands-on with 1400+ tech skills courses.