sync: replace container/heap with github.com/aalpar/deheap
This commit is contained in:
parent
84369286df
commit
1e3d899db8
2 changed files with 8 additions and 7 deletions
|
@ -1,6 +1,7 @@
|
|||
package sync
|
||||
|
||||
import (
|
||||
"container/heap"
|
||||
"context"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
|
@ -12,6 +13,9 @@ import (
|
|||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
// Check interface satisfied
|
||||
var _ heap.Interface = (*pipe)(nil)
|
||||
|
||||
func TestPipe(t *testing.T) {
|
||||
var queueLength int
|
||||
var queueSize int64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue