Implementation of go design patterns collected over time.
-
Single Responsility Principle : -A type should only have one reason to change -Separation of concerns - different types/packages handling different, independent tasks/problems
-
Open-Closed Principle : -Types should be open to substitute an embedding type in place of its embedded part