Skip to content

Commit

Permalink
docs: fix typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dnitsch committed Mar 28, 2024
1 parent f1c11e5 commit ed2b953
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 @@ -61,7 +61,7 @@ Where `configVar` can be either a parseable string `'som3#!S$CRet'` or a number
cm := configmanager.New(context.TODO())
// add additional config to apply on your tokens
cm.Config.WithTokenSeparator("://")
pm, err := cm.Retrieve([]string{"IMPLEMENTATION://token1", "IMPLEMENTATION:// token2","ANOTHER_IMPL://token1"})
pm, err := cm.Retrieve([]string{"IMPLEMENTATION://token1", "IMPLEMENTATION://token2", "ANOTHER_IMPL://token1"})
```

- `RetrieveUnmarshalledFromYaml`|`RetrieveUnmarshalledFromJson`|`RetrieveMarshalledJson`|`RetrieveMarshalledYaml` methods are now on the ConfigManager struct, see `exampleRetrieveYamlMarshalled` or `exampleRetrieveYamlUnmarshalled` in [examples](./examples/examples.go)
Expand Down

0 comments on commit ed2b953

Please sign in to comment.