diff --git a/CHANGELOG.md b/CHANGELOG.md index dfeadb5e..743a1eb4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ Adding: - lo.CountValuesBy - lo.MapEntries - lo.Sum +- lo.Interleave - TupleX.Unpack() ## 1.31.0 (2022-10-06) diff --git a/README.md b/README.md index b3661cda..48cd1cba 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,8 @@ import ( Then use one of the helpers below: ```go -names := lo.Uniq[string]([]string{"Samuel", "Marc", "Samuel"}) -// []string{"Samuel", "Marc"} +names := lo.Uniq[string]([]string{"Samuel", "John", "Samuel"}) +// []string{"Samuel", "John"} ``` Most of the time, the compiler will be able to infer the type so that you can call: `lo.Uniq([]string{...})`.