Visitor

Represent an operation to be performed on the elements of an object structure. Visitor lets a new operation be defined without changing the classes of the elements on which it operates.

Examples in Go
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in Go!