3 files changed
+4
-4
lines changed- .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
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
154 | 154 |
| |
155 | 155 |
| |
156 | 156 |
| |
157 |
| - | |
| 157 | + | |
158 | 158 |
| |
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
163 |
| - | |
| 163 | + | |
164 | 164 |
| |
165 | 165 |
| |
166 | 166 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
47 | 47 |
| |
48 | 48 |
| |
49 | 49 |
| |
50 |
| - | |
| 50 | + | |
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
|
0 commit comments