2 files changed
+2
-2
lines changedSubmodule maxmind-db updated 63 files
- .github/dependabot.yml+11
- .github/workflows/codeql-analysis.yml+52
- .github/workflows/go.yml+38
- .github/workflows/golangci-lint.yml+21
- .gitignore+1
- .golangci.toml+708
- cmd/write-test-data/main.go+68
- go.mod+13
- go.sum+16
- perltidyrc+6
- pkg/writer/decoder.go+178
- pkg/writer/geoip2.go+182
- pkg/writer/ip.go+39
- pkg/writer/maxmind.go+245
- pkg/writer/nestedstructures.go+73
- pkg/writer/writer.go+58
- source-data/GeoIP2-City-Test.json+322-1
- source-data/GeoIP2-Connection-Type-Test.json+15-10
- source-data/GeoIP2-Country-Test.json+110-11
- source-data/GeoIP2-Domain-Test.json+5
- source-data/GeoIP2-Enterprise-Test.json+347-1
- source-data/GeoIP2-Precision-Enterprise-Sandbox-Test.json+296
- source-data/GeoIP2-Precision-Enterprise-Test.json+412-2
- source-data/GeoIP2-Static-IP-Score-Test.json+15
- source-data/GeoIP2-User-Count-Test.json+18
- source-data/GeoLite2-City-Test.json+168
- source-data/GeoLite2-Country-Test.json+92
- source-data/README-15
- test-data/GeoIP2-Anonymous-IP-Test.mmdb
- test-data/GeoIP2-City-Test-Broken-Double-Format.mmdb
- test-data/GeoIP2-City-Test-Invalid-Node-Count.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-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-broken-pointers-24.mmdb
- test-data/MaxMind-DB-test-broken-search-tree-24.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
- test-data/MaxMind-DB-test-pointer-decoder.mmdb
- test-data/README.md+28-12
- test-data/write-test-data.pl-695
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| |||
0 commit comments