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

io.getquill.util.Config.scala Maven / Gradle / Ivy

There is a newer version: 4.6.0
Show newest version
package io.getquill.util

import com.typesafe.config.ConfigFactory

object Config {

  def apply(configPrefix: String) = {
    val factory = ConfigFactory.load(getClass.getClassLoader)
    if (factory.hasPath(configPrefix))
      factory.getConfig(configPrefix)
    else
      ConfigFactory.empty
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy