Skip to content

Instantly share code, notes, and snippets.

View durre's full-sized avatar

Andreas Du Rietz durre

  • Stockholm / Sweden
View GitHub Profile
@jdegoes
jdegoes / zio-test.scala
Last active January 6, 2023 14:08
Simple example of testing with ZIO environment
object test {
import scalaz.zio._
type UserID = String
case class UserProfile(name: String)
// The database module:
trait Database {
val database: Database.Service