bump to go 1.23 (#31855)

This commit is contained in:
techknowlogick 2024-09-09 22:23:07 -04:00 committed by GitHub
parent 1620e3f03b
commit d9a7748cdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 71 additions and 58 deletions

View file

@ -120,7 +120,7 @@ func (q *baseChannel) RemoveAll(ctx context.Context) error {
q.mu.Lock()
defer q.mu.Unlock()
for q.c != nil && len(q.c) > 0 {
for len(q.c) > 0 {
<-q.c
}