From bfa6b9dcef7592e6dd8225aaa0d0ab5aef5b3f84 Mon Sep 17 00:00:00 2001 From: Dave Henderson Date: Sun, 9 Mar 2025 20:14:46 -0400 Subject: chore(refactoring): Refactor/modernizations (#2345) chore(refactoring): Refactor with modernization refactorings * range over int * replace interface{} with any * replace common map operations with maps.Copy/maps.Clone * simplifying loops with slices.Contains/ContainsFunc * modernize benchmarks with b.Loop * modernize tests with t.Context * use fmt.Appendf * range over strings.SplitSeq * use new stdlib crypto/pbkdf2 package --------- Signed-off-by: Dave Henderson --- docs/content/functions/coll.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/content/functions/coll.md b/docs/content/functions/coll.md index f862a2e9..c7f01119 100644 --- a/docs/content/functions/coll.md +++ b/docs/content/functions/coll.md @@ -8,7 +8,7 @@ menu: These functions help manipulate and query collections of data, like lists (slices, or arrays) and maps (dictionaries). #### Implementation Note -For the functions that return an array, a Go `[]interface{}` is returned, regardless of whether or not the +For the functions that return an array, a Go `[]any` is returned, regardless of whether or not the input was a different type. ## `coll.Dict` -- cgit v1.2.3