Go reflections deep dive— from structs and interfaces

Snir David
Apr 18, 2020 · 6 min read

Go reflections is a topic that requires understanding of the go internals regarding structs, interfaces and the type system in order to understand how it fundamentally works behind the scenes.

You can use reflections without going into these details, of course. This article objective is to introduce you to some of the details in a way that will enable deeper understanding. But those are not strictly required.

This article assumes you have basic understanding of structs and interfaces.
You may have a quick refresh…