Commit ab71702
File tree
6 files changed
+113
-1
lines changed- lib/maxmind/geoip2
- model
- test
6 files changed
+113
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
136 | 151 | | |
137 | 152 | | |
138 | 153 | | |
| |||
| 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 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
113 | 138 | | |
114 | 139 | | |
115 | 140 | | |
| |||
- .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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
40 | 63 | | |
41 | 64 | | |
42 | 65 | | |
| |||
0 commit comments