mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
12 lines
139 B
Go
12 lines
139 B
Go
//go:build !go1.18
|
|
// +build !go1.18
|
|
|
|
package ewoDgtrd
|
|
|
|
import "sync"
|
|
|
|
func tryLock(lock *sync.RWMutex) bool {
|
|
lock.Lock()
|
|
return true
|
|
}
|