go-design-patterns examples from a fantastic refactoring guru website to run just build the executable with go build and run it ... e.g. cd behavioral cd 22-visitor go build ./22-visitor