Skip to content

Instantly share code, notes, and snippets.

@KadekM
Last active May 10, 2021 20:14
Show Gist options
  • Save KadekM/b67608d11ee7c13979a16c81d553be54 to your computer and use it in GitHub Desktop.
Save KadekM/b67608d11ee7c13979a16c81d553be54 to your computer and use it in GitHub Desktop.
override def run(args: List[String]): URIO[zio.ZEnv, ExitCode] = {
val zio = ??? // what we implemented above
val loggingLayer = Logging.console() ++ dbSessionLayer
zio
.provideCustomLayer(loggingLayer)
.exitCode
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment