diff --git a/go.mod b/go.mod index 81d7bcf..670ba3d 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module gitlab.com/beckersamuel9/utils +module gitlab.com/beckersamuel9/goutils go 1.19 diff --git a/pkg/maputils/mapUtils.go b/pkg/maputils/mapUtils.go index 3c572f0..d2defe8 100644 --- a/pkg/maputils/mapUtils.go +++ b/pkg/maputils/mapUtils.go @@ -1,5 +1,7 @@ package maps +import "gitlab.com/beckersamuel9/goutils/pkg/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. func MapMap[K comparable, V any, R any](dic map[K]V, apply func(K, V) R) map[K]R {