Skip to content

Commit c7ecccc

Browse files
committed
Drop 1.2 and 1.3 support
maxminddb no longer supports these versions.
1 parent fe8132a commit c7ecccc

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.travis.yml

-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
language: go
22

33
go:
4-
- 1.2
5-
- 1.3
64
- 1.4
75
- 1.5
86
- 1.6

reader_test.go

+1-3
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,6 @@ func BenchmarkMaxMindDB(b *testing.B) {
227227

228228
func randomIPv4Address(b *testing.B, r *rand.Rand) net.IP {
229229
num := r.Uint32()
230-
ip := []byte{byte(num >> 24), byte(num >> 16), byte(num >> 8),
230+
return []byte{byte(num >> 24), byte(num >> 16), byte(num >> 8),
231231
byte(num)}
232-
233-
return ip
234232
}

0 commit comments

Comments
 (0)