A Journey With Go
Published in

A Journey With Go

Go: Understand the Empty Interface

Illustration created for “A Journey With Go”, made from the original Go Gopher, created by Renee French.

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…

--

--

--

A Journey With Go Language Programming

Recommended from Medium

What Are Managed Service Providers?

Proposing an enhancement to Kubernetes: The story of a KEP

Growing the Nigerian Software Industry — clarifying my thoughts. Part 1

Read and Write Files in Python

Classic Web Application Architecture using AWS

CS373 Fall 2021: Week 4

The Best Tool I Learned About Working at Amazon

How Agile Helps Non-Technical Teams Get Things Done

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vincent Blanchon

Vincent Blanchon

French Gopher in Dubai

More from Medium

“Markers” in Go

Learning Go in 3 minutes

Working on High-Performance Golang Client Library — Remove the Bad Busy Loops With the Sync.Cond

Golang Dependency Injection Using Wire