diff --git a/pkg/strategy/ewoDgtrd/trylock_18.go b/pkg/strategy/ewoDgtrd/trylock_18.go new file mode 100644 index 000000000..f092ebcdb --- /dev/null +++ b/pkg/strategy/ewoDgtrd/trylock_18.go @@ -0,0 +1,10 @@ +//go:build go1.18 +// +build go1.18 + +package ewoDgtrd + +import "sync" + +func tryLock(lock *sync.RWMutex) bool { + return lock.TryLock() +}