Golang Design Patterns - Iterator Pattern