Design Pattern: Iterator Pattern in Go
Iterator pattern traverses through aggregate items. Using this pattern we can establish a standard for traversal and the traversal of the items becomes easy. In this article, we are demonstrating Iterator pattern implementation in Golang.