mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-11 01:23:51 +00:00
11 lines
134 B
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()
|
||
|
}
|