Skip to content

Instantly share code, notes, and snippets.

View taq's full-sized avatar

Eustáquio Rangel taq

View GitHub Profile
@taq
taq / test.kt
Last active July 28, 2025 11:20
Kotlin: Injetando um Logger em Person
interface Logger {
abstract fun log(msg: String)
}
class ConsoleLogger : Logger {
override fun log(msg: String) {
println("Log: $msg")
}
}