Created
December 5, 2016 23:40
-
-
Save waterlink/be4a3b95b1f238b8a9f4a941c8c8265d to your computer and use it in GitHub Desktop.
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
class UserSearch { | |
// ... | |
func search_by_query(query : Query): [User] { | |
// .. we somehow use the database gateway here to search | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment