Jarvis
Results
1
issues of
Jarvis
`examples/module2/condition/main.go` 中的队列 `Dequeue` 方法中,使用 `if` 进行条件检查: ```go func (q *Queue) Dequeue() string { q.cond.L.Lock() defer q.cond.L.Unlock() if len(q.queue) == 0 { fmt.Println("no data available, wait") q.cond.Wait() } ... ``` 建议改成使用...