From 93b77ce583e34e383aef662f9ef91e2754b3f891 Mon Sep 17 00:00:00 2001 From: Mikica Ivosevic Date: Fri, 27 Sep 2024 10:25:06 +0200 Subject: [PATCH] fix(docs): correct example usage in README (#176) Updated README examples to reflect proper usage of contains_all and contains_any. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ff5ca08..0ae23f9 100644 --- a/README.md +++ b/README.md @@ -68,8 +68,8 @@ func main() { | compare_versions(versionToCheck string, constraints ...string) bool | Compares the first version argument with the provided constraints | `compare_versions('v1.0.0', '>v0.0.1', '`date_time("%Y-%M-%D %H:%m", 1654870680)`
`date_time("2006-01-02 15:04", unix_time())` | `2022-06-10 14:18` | | dec_to_hex(number number | string) string | Transforms the input number into hexadecimal format | `dec_to_hex(7001)"` | `1b59` | | deflate(input string) string | Compresses the input using DEFLATE | `deflate("Hello")` | `"\xf2\x48\xcd\xc9\xc9\x07\x04\x00\x00\xff\xff"` |