fix: fix UniqueBy bug

This commit is contained in:
dudaodong committed 2024-08-08 10:40:23 +08:00
1 parent 356351896d
commit 3e7f94b03e
7 files changed
+27 -18

No files matched your search

+1 -1
View File
@@ -777,7 +777,7 @@ func ExampleUniqueBy() {
fmt.Println(result)
// Output:
// [1 2 0]
// [1 2 3]
}
func ExampleUniqueByField() {