Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Patrin <ppatrin@nvidia.com>
  • Loading branch information
pavelpatrin authored May 29, 2024
1 parent 5561e0d commit d7f05e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func MyServiceFactory() {...}
The factory function's role is to perform any necessary initializations and return a fully-configured service instance
to the container.

There are two predefined by container service types that may be used as a dependencies in the factory arguments.
There are several predefined by container service types that may be used as a dependencies in the factory arguments.

1. The `context.Context` service provides the per-service context, inherited from the background context.
This context is cancelled right before the service's `Close()` call and intended to be used with service functions.
Expand Down

0 comments on commit d7f05e8

Please sign in to comment.