Back to Browse

Go Reflection FINALLY Explained: Type, Kind, and Dynamic Structs! (Ep. 2)

4.8K views
Feb 3, 2019
21:49

Stop guessing types! In this second part of our 'Understanding and using Go Reflection like a boss' series, we move beyond basic type assertions to truly understand Go's powerful `reflect` package. Learn how `reflect.TypeOf()`, `reflect.ValueOf()`, and especially `reflect.Kind()` unlock dynamic capabilities, allowing you to inspect and manipulate types you don't even know at compile time! We'll show you how to build a generic struct inspector, paving the way for advanced Go programming. Episode 2

Download

0 formats

No download links available.

Go Reflection FINALLY Explained: Type, Kind, and Dynamic Structs! (Ep. 2) | NatokHD