Here you go: https://play.golang.org/p/zumvg2Bcyt
For every type specific (k, v) tuple you'll need to create a evict func type converter. On Monday, April 3, 2017 at 10:44:16 AM UTC-4, Yaroslav Molochko wrote: > > In short, I'm trying to cast type of > function(string, sometype) -> function(interface{}, interface{}) > here is the code: > > https://play.golang.org/p/_ZCT8m_m_0 > > I've tried like 10 possible options, and I believe I just don't see > something really simple, will highly appreciate some insights on how to get > it working. > Thanks! > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.