From 835fc013a175fc65cd73fb3f47fae4c1c958aaab Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Tue, 4 Oct 2022 21:29:53 +0200 Subject: [PATCH] bump v1.30.0 --- CHANGELOG.md | 3 ++- README.md | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 744d5e05..726e7013 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,11 +2,12 @@ @samber: I sometimes forget to update this file. Ping me on [Twitter](https://twitter.com/samuelberthe) or open an issue in case of error. We need to keep a clear changelog for easier lib upgrade. -## 1.x.y (2022-xx-yy) +## 1.30.0 (2022-10-04) Adding: - lo.TernaryF +- lo.Validate ## 1.29.0 (2022-10-02) diff --git a/README.md b/README.md index 37791c2c..4b90a5fe 100644 --- a/README.md +++ b/README.md @@ -2094,7 +2094,6 @@ val := lo.Validate(len(slice) == 0, "Slice should be empty but contains %v", sli // nil ``` - ### Must Wraps a function call to panics if second argument is `error` or `false`, returns the value otherwise.