Go Examples of Common Patterns
This is a collection of common design patterns translated into Go. The goal of this repository is to help programmers coming from other language communities understand how their favorite patterns can be reused in Go.
We do not intended to be restrict this to the traditional GoF Design Patterns. We hope to include any language idiom you'd like to see re-implemented in more idiomatic Go. Suggestions are welcomed. If there is a pattern you'd like to see or contribute, please file an issue.
This material was originally authored by Ryanne Dolan, copied here with permission.
Concurrency
Functional
Object-Oriented
Packages
Web Services
Contributions
We are actively seeking contributors to improve the existing examples and to provide new ones. If you have an idea for a change, open an issue to discuss, then send a pull request when the change is ready.