Skip to content

Commit 800c8e1

Browse files
authored
Update README.md
1 parent 23f3fc4 commit 800c8e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ err := container.Singleton(func() Config {
3939
})
4040

4141
var c Config
42-
err := container.Bind(&c)
42+
err := container.Resolve(&c)
4343
// `c` will be the instance of JsonConfig
4444
```
4545

0 commit comments

Comments
 (0)