Tag

DeepEqual

0 views collected around this technical thread.

Didi Tech
Didi Tech
May 17, 2019 · Fundamentals

Understanding Go Reflection: Types, Values, and Practical Applications

Go’s reflection, accessed via the reflect package’s TypeOf and ValueOf functions, lets programs inspect and modify runtime types and values—including fields, tags, and slices—while obeying settable rules, enabling generic utilities such as JSON serialization, deep equality checks, and dynamic ORM-like behavior.

DeepEqualGoInterface
0 likes · 27 min read
Understanding Go Reflection: Types, Values, and Practical Applications