File tree
7 files changed
+119
-45
lines changed- src
- models
- test
7 files changed
+119
-45
lines changedLines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
4 | 11 |
| |
5 | 12 |
| |
6 | 13 |
| |
|
Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
205 | 205 |
| |
206 | 206 |
| |
207 | 207 |
| |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
208 | 231 |
| |
209 | 232 |
| |
210 | 233 |
| |
|
Lines changed: 38 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + |
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
| 2 | + | |
2 | 3 |
| |
3 | 4 |
| |
4 | 5 |
| |
| |||
10 | 11 |
| |
11 | 12 |
| |
12 | 13 |
| |
| 14 | + | |
13 | 15 |
| |
14 | 16 |
| |
15 | 17 |
| |
|
Lines changed: 29 additions & 43 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 |
| - | |
117 |
| - | |
118 |
| - | |
119 |
| - | |
120 |
| - | |
121 |
| - | |
122 |
| - | |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
127 |
| - | |
128 |
| - | |
129 |
| - | |
130 |
| - | |
131 |
| - | |
132 |
| - | |
133 |
| - | |
134 |
| - | |
135 |
| - | |
136 |
| - | |
137 |
| - | |
138 |
| - | |
139 |
| - | |
140 |
| - | |
141 |
| - | |
142 |
| - | |
143 |
| - | |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 |
| - | |
150 |
| - | |
151 |
| - | |
152 |
| - | |
153 |
| - | |
154 |
| - | |
155 |
| - | |
156 |
| - | |
157 |
| - | |
158 |
| - | |
159 | 116 |
| |
160 | 117 |
| |
161 | 118 |
| |
| |||
500 | 457 |
| |
501 | 458 |
| |
502 | 459 |
| |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
503 | 488 |
| |
504 | 489 |
| |
505 | 490 |
| |
| |||
690 | 675 |
| |
691 | 676 |
| |
692 | 677 |
| |
| 678 | + | |
693 | 679 |
| |
694 | 680 |
| |
695 | 681 |
| |
|
Lines changed: 19 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
22 |
| - | |
| 22 | + | |
23 | 23 |
| |
24 | 24 |
| |
25 | 25 |
| |
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
39 | 57 |
| |
40 | 58 |
| |
41 | 59 |
| |
|
- .github/workflows/codeql-analysis.yml+7-6
- .github/workflows/go.yml+6-2
- .github/workflows/golangci-lint.yml+7-3
- .github/workflows/zizmor.yml+32
- .golangci.toml-708
- .golangci.yml+737
- .perltidyallrc-11
- .tidyallrc-5
- LICENSE-4
- LICENSE-APACHE+202
- LICENSE-MIT+17
- MaxMind-DB-spec.md+1-2
- README.md+8-1
- go.mod+1-1
- perltidyrc-18
- pkg/writer/geoip2.go+7-5
- pkg/writer/maxmind.go+2-1
- pkg/writer/writer.go+4-1
- source-data/GeoIP-Anonymous-Plus-Test.json+175
- source-data/GeoIP2-Anonymous-IP-Test.json+6
- source-data/GeoIP2-City-Test.json+73-7
- source-data/GeoIP2-Country-Test.json+3-28
- source-data/GeoIP2-Enterprise-Test.json+27-8
- source-data/GeoIP2-IP-Risk-Test.json+31
- source-data/GeoIP2-Precision-Enterprise-Test.json+585-11
- source-data/GeoLite2-City-Test.json-3
- source-data/GeoLite2-Country-Test.json-3
- test-data/GeoIP-Anonymous-Plus-Test.mmdb
- test-data/GeoIP2-Anonymous-IP-Test.mmdb
- test-data/GeoIP2-City-Test.mmdb
- test-data/GeoIP2-Connection-Type-Test.mmdb
- test-data/GeoIP2-Country-Test.mmdb
- test-data/GeoIP2-DensityIncome-Test.mmdb
- test-data/GeoIP2-Domain-Test.mmdb
- test-data/GeoIP2-Enterprise-Test.mmdb
- test-data/GeoIP2-IP-Risk-Test.mmdb
- test-data/GeoIP2-ISP-Test.mmdb
- test-data/GeoIP2-Precision-Enterprise-Test.mmdb
- test-data/GeoIP2-Static-IP-Score-Test.mmdb
- test-data/GeoIP2-User-Count-Test.mmdb
- test-data/GeoLite2-ASN-Test.mmdb
- test-data/GeoLite2-City-Test.mmdb
- test-data/GeoLite2-Country-Test.mmdb
- test-data/MaxMind-DB-no-ipv4-search-tree.mmdb
- test-data/MaxMind-DB-string-value-entries.mmdb
- test-data/MaxMind-DB-test-decoder.mmdb
- test-data/MaxMind-DB-test-ipv4-24.mmdb
- test-data/MaxMind-DB-test-ipv4-28.mmdb
- test-data/MaxMind-DB-test-ipv4-32.mmdb
- test-data/MaxMind-DB-test-ipv6-24.mmdb
- test-data/MaxMind-DB-test-ipv6-28.mmdb
- test-data/MaxMind-DB-test-ipv6-32.mmdb
- test-data/MaxMind-DB-test-metadata-pointers.mmdb
- test-data/MaxMind-DB-test-mixed-24.mmdb
- test-data/MaxMind-DB-test-mixed-28.mmdb
- test-data/MaxMind-DB-test-mixed-32.mmdb
- test-data/MaxMind-DB-test-nested.mmdb
0 commit comments