Posts tagged Reflection
Struct-Tag Routing: reflect in Practice
How gortex builds its route table from struct tags with reflect: method names pick the verb, middleware inherits down groups, and bad config fails at startup.
Struct Tags and reflect
reflect reads Go struct tags at runtime. Lookup tells an empty tag from a missing one; reflect is slow and panics, so keep it at startup, off the hot path.