Created
April 8, 2018 02:23
-
-
Save brianhsu/7fef6a3dbe804335abc945ae73ff4cbe to your computer and use it in GitHub Desktop.
This file contains hidden or 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
trait UseCase[T] { | |
def execute(): T | |
def validate(): Option[ValidationError] | |
def journal: Option[Journal] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment