mirror of
https://github.com/mbierlee/poodinis.git
synced 2024-11-15 04:04:01 +01:00
Fix minor details
This commit is contained in:
parent
880dac86f8
commit
67fa51a14f
|
@ -35,7 +35,7 @@ import poodinis;
|
||||||
|
|
||||||
class Driver {}
|
class Driver {}
|
||||||
|
|
||||||
interface Database{};
|
interface Database {};
|
||||||
|
|
||||||
class RelationalDatabase : Database {
|
class RelationalDatabase : Database {
|
||||||
private Driver driver;
|
private Driver driver;
|
||||||
|
@ -59,7 +59,7 @@ void main() {
|
||||||
auto writer = dependencies.resolve!DataWriter;
|
auto writer = dependencies.resolve!DataWriter;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Set-up can further be reduced by enabling "Register on resolve". For more details and examples, see the [examples](example) directory.
|
Dependency set-up can further be reduced by enabling "Register on resolve". For more details and examples, see the [examples](example) directory.
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
-------------
|
-------------
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
To build any of these examples, specify the relevant DUB configuration when building with DUB:
|
To build any of these examples, specify the relevant DUB configuration when building Poodinis with DUB:
|
||||||
```
|
```
|
||||||
dub build --build=release --config=<name>Example
|
dub build --build=release --config=<name>Example
|
||||||
```
|
```
|
||||||
|
|
|
@ -9,7 +9,7 @@ import poodinis;
|
||||||
|
|
||||||
class Driver {}
|
class Driver {}
|
||||||
|
|
||||||
interface Database{};
|
interface Database {};
|
||||||
|
|
||||||
class RelationalDatabase : Database {
|
class RelationalDatabase : Database {
|
||||||
private Driver driver;
|
private Driver driver;
|
||||||
|
|
Loading…
Reference in a new issue