Tagged articles
1 articles
Page 1 of 1
MaGe Linux Operations
MaGe Linux Operations
Apr 27, 2024 · Fundamentals

Mastering Go Types and Interfaces: A Deep Dive into Reflection

This article explains Go's static type system, introduces custom types and interface definitions, demonstrates how interfaces store concrete values, and shows how the reflect package can inspect and modify values, covering empty interfaces, type assertions, and mutable reflect values with practical code examples.

InterfacesReflectionempty interface
0 likes · 14 min read
Mastering Go Types and Interfaces: A Deep Dive into Reflection