2
0

Revert "Use Go 1.19 atomics"

This reverts commit 86ffb019e1.

Given https://github.com/jackc/pgx/issues/1354 the temporary dependency
on go.uber.org/atomic for Go 1.18 support is worthwhile.
This commit is contained in:
Jack Christensen
2022-11-12 10:25:48 -06:00
parent 08d6ffb88b
commit fc4042cf23
3 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -4,10 +4,10 @@ import (
"context"
"errors"
"sync"
"sync/atomic"
"time"
"github.com/jackc/puddle/v2/internal/genstack"
"go.uber.org/atomic"
"golang.org/x/sync/semaphore"
)