From d6daf0e285a31fb14d68096cca69f5176bbd4ffe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 6 Dec 2025 11:53:59 +0100 Subject: [PATCH] v0.0.616 --- dataext/multiMutex.go | 6 ++++++ goextVersion.go | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dataext/multiMutex.go b/dataext/multiMutex.go index 4a1af54..f49fef7 100644 --- a/dataext/multiMutex.go +++ b/dataext/multiMutex.go @@ -91,3 +91,9 @@ func (mm *MultiMutex[TKey]) RLocker(key TKey) sync.Locker { lck := mm.mutextMap.GetAndSetIfNotContainsFunc(key, NewCASMutex) return lck.RLocker() } + +// Get returns a Locker interface +func (mm *MultiMutex[TKey]) Get(key TKey) sync.Locker { + lck := mm.mutextMap.GetAndSetIfNotContainsFunc(key, NewCASMutex) + return lck +} diff --git a/goextVersion.go b/goextVersion.go index 1849960..5b9699d 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.615" +const GoextVersion = "0.0.616" -const GoextVersionTimestamp = "2025-12-06T11:50:54+0100" +const GoextVersionTimestamp = "2025-12-06T11:53:59+0100"