All Downloads are FREE. Search and download functionalities are using the official Maven repository.

h4sm.testutil.infrastructure.package.scala Maven / Gradle / Ivy

package h4sm
package testutil

import cats.effect.IO
import h4sm.db.config.DatabaseConfig
import io.circe.config._
import scala.concurrent.ExecutionContext

package object infrastructure {
  implicit lazy val cs = IO.contextShift(ExecutionContext.Implicits.global)

  def dbConfig: IO[DatabaseConfig] = parser.decodePathF[IO, DatabaseConfig]("db")
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy