We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61c647a commit 9bd7992Copy full SHA for 9bd7992
reader_test.go
@@ -271,7 +271,7 @@ func BenchmarkCity(b *testing.B) {
271
var city *City
272
273
ip := make(net.IP, 4)
274
- for i := 0; i < b.N; i++ {
+ for range b.N {
275
randomIPv4Address(r, ip)
276
city, err = db.City(ip)
277
if err != nil {
@@ -297,7 +297,7 @@ func BenchmarkASN(b *testing.B) {
297
var asn *ASN
298
299
300
301
302
asn, err = db.ASN(ip)
303
0 commit comments