Created
December 5, 2016 23:36
-
-
Save waterlink/bbfce5c409bf55f7b41e6cc586c8b9c2 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 { | |
// all other search_* methods were removed | |
func search(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