Ruby's Enumerable module methods in Go