io.taig.babel.Loader.scala Maven / Gradle / Ivy
The newest version!
package io.taig.babel
import cats.effect.kernel.Sync
abstract class Loader[F[_]] {
def load(base: String, locales: Set[Locale]): F[Translations[Babel]]
}
object Loader {
def default[F[_]: Sync]: Loader[F] = HoconLoader[F]
}