Created
June 3, 2022 07:52
-
-
Save AntonStoeckl/d7fabc4dd556ef8d51af434bcd57f111 to your computer and use it in GitHub Desktop.
Example for Blog Post "Hexagonal Architecture: Structuring a project and the influence of granularity V2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# With function types instead of interfaces all ports are automatically fine-grained | |
type ForSelectingDecks func(command SelectDeckCommand) error | |
type ForUnselectingDecks func(command UnselectDeckCommand) error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment