From 66a118e6ef53deb21050495056e8564adf3e1ca2 Mon Sep 17 00:00:00 2001 From: mStar Date: Tue, 30 Jul 2024 16:58:10 +0200 Subject: [PATCH] Fix maputils --- maputils/mapUtils.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maputils/mapUtils.go b/maputils/mapUtils.go index 8689ad4..90d0179 100644 --- a/maputils/mapUtils.go +++ b/maputils/mapUtils.go @@ -1,6 +1,6 @@ -package maps +package maputils -import "gitlab.com/beckersam/goutils/pkg/sliceutils" +import "gitlab.com/mstarongitlab/goutils/sliceutils" // MapMap applies a given function to every key-value pair of a map. // The returned map's value type may be different from the type of the inital map's value. @@ -42,7 +42,7 @@ func CompareMap[K, V comparable](a, b map[K]V) bool { return false } // Check if both maps have the same keys - if !sliceutils.CompareUnorderedSlice(KeysFromMap(a), KeysFromMap(b)) { + if !sliceutils.CompareUnordered(KeysFromMap(a), KeysFromMap(b)) { return false }