From 359b132b6a550d8055f97bcd35a071b7d33bc437 Mon Sep 17 00:00:00 2001 From: Iliyan Germanov <iliyan.germanov971@gmail.com> Date: Thu, 5 Dec 2024 15:50:41 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cdc9c8f..db6f5f8 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A simple and lightweight runtime Dependency Injection (DI) container for Kotlin Multiplatform. Ivy DI is a small dependency injection library with an intuitive API and limited features. -In a nutshell, you first register dependency factory functions in the container **Di.register { T() }** and then get instances via **Di.get\<T>()**. +In a nutshell, you first register dependency factory functions in the container `Di.register { SomeClass() }` and then get instances via `Di.get<SomeClass>()`. It also supports auto-wiring via `autoWire(::SomeClass)` that does the registration for you. ```kotlin interface ArticlesDataSource