If you're just looking for field names (keys), what's wrong with map[string]interface{}?
Maybe I'm missing some key context, but I've never reached for reflection in the scenario you've described.
Maybe I'm missing some key context, but I've never reached for reflection in the scenario you've described.
No comments yet.