how to start koin , without function? <https://pas...
# koin
c
how to start koin , without function? https://pastebin.com/PUHaf1Tu startkoin can't start without function
a
I think you can use
Copy code
startKoin(koinApplication = KoinApplication.init())
c
that didnt work
a
You need explain what you want to achieve... In this case you might get help.
c
sure , context: writing a [submodule] library where a
soapclient
object
object soapClient{
val httpClient = HttpClient(Apache) {
. . .
}
}
which has a httpClient(ktor) want to inject httpClient
k cant install(Koin)