Scala-Play-Slick-Demo/app/services/MyService.scala

18 lines
471 B
Scala
Raw Normal View History

// package service
2020-05-16 10:10:23 +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
// @Singleton
// class MyService @Inject() (
// protected val dbConfigProvider: DatabaseConfigProvider,
// implicit val ec: ExecutionContext
// ) extends HasDatabaseConfigProvider[JdbcProfile] {
2020-05-16 10:10:23 +00:00
// import profile.api._
// db
// }