Created
July 5, 2021 15:16
-
-
Save renaudmathieu/ce4fb14aff05aa31f8dbe58dfaf73510 to your computer and use it in GitHub Desktop.
ktor_part3_application
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
fun Application.module(testing: Boolean = false) { | |
// ... | |
val database: AppDatabase by inject() | |
database.init() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment