Skip to content

Commit 2e82684

Browse files
authored
Fix docs (#105)
1 parent bec89e0 commit 2e82684

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ lookuper := envconfig.MapLookuper(map[string]string{
289289
})
290290
291291
var config Config
292-
envconfig.ProcessWith(ctx, &config, &envconfig.Config{
292+
envconfig.ProcessWith(ctx, &envconfig.Config{
293+
Target: &config,
293294
Lookuper: lookuper,
294295
})
295296
```

0 commit comments

Comments
 (0)