Skip to content

Instantly share code, notes, and snippets.

@MarcoSignoretto
Created November 11, 2023 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarcoSignoretto/e3e59296ac5483a8d58ff1b0de731f8a to your computer and use it in GitHub Desktop.
Save MarcoSignoretto/e3e59296ac5483a8d58ff1b0de731f8a to your computer and use it in GitHub Desktop.
ModuleA.kt
class ModuleA {
fun run() {
val dishesRepository = DishRepositoryFactory.create()
dishesRepository.getDishes().forEach {
println("${it.name} - ${it.description} - ${it.price}")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment