.Each(...) for MSI values
nelsam opened this issue · 3 comments
As it stands, Value.Each only works for slices; either a Map.Each or Value.MSIEach that accepts a function (e.g. func(key string, value interface{}) bool) would be nice.
Although, I have an aversion to MSIEach just because it has "MSIE" in it. But that's just me.
This should work:
var m objx.Map = /* get from somewhere */
for key, value := range m {
...
}
Err... Never mind, brain fart.
Hahahaha - +1 re MSIE avoidance
On 18 Sep 2013, at 11:09, nelsam notifications@github.com wrote:
As it stands, Value.Each only works for slices; either a Map.Each or Value.MSIEach that accepts a function (e.g. func(key string, value interface{}) bool) would be nice.
Although, I have an aversion to MSIEach just because it has "MSIE" in it. But that's just me.
—
Reply to this email directly or view it on GitHub.