From f88df87de16c354248f1a5a9149475054b8d9c6c Mon Sep 17 00:00:00 2001 From: Milad Rahimi Date: Fri, 3 Dec 2021 16:27:21 +0330 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bb5a709..7ae2809 100644 --- a/README.md +++ b/README.md @@ -97,10 +97,10 @@ err := container.NamedTransient("noSql" func() Database { }) ``` -### Bind Errors +### Resolver Errors The process of creating concrete (resolving) might face an error. -The resolver function can also return an like the following example. +In this case, you can return the error as the second return value like the example below. ```go err := container.Transient(func() (Shape, error) {