From 5a1a904b4264c6ee323c9bd433f9ee4da93c984d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 5 Feb 2023 13:02:57 -0700 Subject: typedsync: Bring up to being a mostly-drop-in replacement for Go 1.20 sync --- syncutil/cachemap.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'syncutil') diff --git a/syncutil/cachemap.go b/syncutil/cachemap.go index 8eab4bc..8c4dfc5 100644 --- a/syncutil/cachemap.go +++ b/syncutil/cachemap.go @@ -5,13 +5,11 @@ package syncutil import ( - "sync" - "git.lukeshu.com/go/containers/typedsync" ) type cacheVal[V any] struct { - wg sync.WaitGroup + wg typedsync.WaitGroup v V } -- cgit v1.2.3-2-g168b