/design-patterns-go

(fork from RefactoringGuru)

Primary LanguageGo

Design Patterns in Go

This repository is part of the Refactoring.Guru project.

It contains Go examples for all classic GoF design patterns.

Requirements

These examples require Go v1.19. To run the example

All examples can be launched via the command line, using the Go executable as follows:

cd <examples-dir>/builder; go run .

License

The code in this repository is protected by copyright. For all licensing questions please contact us via email support@refactoring.guru.

Credits

https://golangbyexample.com/