Created
February 19, 2020 02:48
-
-
Save markchristopherng/8b74a4d914cba927ba015a75777618f7 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
val toothpickModule = module { | |
bind<GreetingService>().toClass<GreetingServiceImpl>().singleton() | |
bind<TimeService>().toInstance(TimeServiceImpl()) | |
bind<MessageData>().toInstance(MessageData()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment