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

scala-play-server.app.module.scala.mustache Maven / Gradle / Ivy

package {{basePackage}}

import {{apiPackage}}._
import play.api.inject.{Binding, Module => PlayModule}
import play.api.{Configuration, Environment}

{{>generatedAnnotation}}
class Module extends PlayModule {
  override def bindings(environment: Environment, configuration: Configuration): Seq[Binding[_]] = Seq(
    {{#apiInfo}}
    {{#apis}}
    bind[{{classname}}].to[{{classname}}Impl]{{#hasMore}},{{/hasMore}}
    {{/apis}}
    {{/apiInfo}}
  )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy