Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelpatrin authored Jan 15, 2025
1 parent 3f4b580 commit a4ef112
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Dependency injection service container for Golang projects.

## Quick Start

1. Define an example service object.
1. Define an example service.
```go
// MyService performs some crucial tasks.
type MyService struct{}
Expand Down Expand Up @@ -62,7 +62,7 @@ Dependency injection service container for Golang projects.
}
```

6. Alternatively to eager start with a `Start()` call it is possible to use `Resolver` or `Invoker` service. It will spawn only explicitly requested services.
6. Alternatively to eager start with a `Start()` call it is possible to use `Resolver` or `Invoker` service. It will spawn only explicitly requested services including it's dependencies.
```go
var MyService myService
if err := container.Resolver().Resolve(&MyService); err != nil {
Expand Down

0 comments on commit a4ef112

Please sign in to comment.