bbgo_origin/pkg/strategy/ewoDgtrd/trylock_18.go

11 lines
134 B
Go

//go:build go1.18
// +build go1.18
package ewoDgtrd
import "sync"
func tryLock(lock *sync.RWMutex) bool {
return lock.TryLock()
}