Am I reading this correctly? The #golang standard library has no built in function to get a slice of keys from a map? You need to iterate every single time and build up an extra list??
Well i don't get it.
Get a list of keys from a map to iterate the keys-list instead of the map, doubles the mem and doubles the work.. I never had the case to need the list of keys of a map 🤔 without do something in a iterative way with it.
Do you have an example for this case ?
If this is a java-thing, then better use java 😆
@martinsstar the objects look kinda like this but more simple. https://www.mongodb.com/docs/manual/tutorial/query-documents/