From ed2b953693130e756e735aec51abb763ef1ad257 Mon Sep 17 00:00:00 2001 From: dnitsch Date: Thu, 28 Mar 2024 17:01:02 +0000 Subject: [PATCH] docs: fix typo in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6476e37..b01e8eb 100644 --- a/README.md +++ b/README.md @@ -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)