We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f51c127 commit c06e80dCopy full SHA for c06e80d
rate/rate.go
@@ -6,12 +6,11 @@
6
package rate
7
8
import (
9
+ "context"
10
"fmt"
11
"math"
12
"sync"
13
"time"
-
14
- "golang.org/x/net/context"
15
)
16
17
// Limit defines the maximum frequency of some events.
rate/rate_test.go
@@ -5,14 +5,13 @@
5
"runtime"
"sync/atomic"
"testing"
18
func TestLimit(t *testing.T) {
0 commit comments