I’ve said this before and I’ll say it again: the ability to make a lambda from a method, a la Java’s double colon operator (e.g. obj::toString
) is sorely lacking in Go. It would be great to use myVal::String
to get a func (myType) string
function that I can pass into Map
and Filter
.