2020-08-22 10:48:11 +00:00
|
|
|
// package service
|
2020-05-16 10:10:23 +00:00
|
|
|
|
2020-08-22 10:48:11 +00:00
|
|
|
// import javax.inject._
|
|
|
|
// import play.api.db.slick.DatabaseConfigProvider
|
|
|
|
// import scala.concurrent.ExecutionContext
|
|
|
|
// import play.api.db.slick.HasDatabaseConfigProvider
|
|
|
|
// import slick.jdbc.JdbcProfile
|
2020-05-16 10:10:23 +00:00
|
|
|
|
2020-08-22 10:48:11 +00:00
|
|
|
// @Singleton
|
|
|
|
// class MyService @Inject() (
|
|
|
|
// protected val dbConfigProvider: DatabaseConfigProvider,
|
|
|
|
// implicit val ec: ExecutionContext
|
|
|
|
// ) extends HasDatabaseConfigProvider[JdbcProfile] {
|
2020-05-16 10:10:23 +00:00
|
|
|
|
2020-08-22 10:48:11 +00:00
|
|
|
// import profile.api._
|
|
|
|
// db
|
|
|
|
// }
|