Go: Understand the Empty Interface

An empty interface can be used to hold any data and it can be a useful parameter since it can work with any type. To understand how an empty interface works and how it can hold any type, we should first understand the concept behind the name.
Interfaces
Here is a good definition of the empty interface by Jordan Oreilli:
An interface is two…