diff --git a/README.md b/README.md index ee150d6..37c9d94 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # ip地址归属地查询 -http://127.0.0.1:8080?address=sre.ink +http://127.0.0.1:8080?address=git.sre.ink ## bench ```bash goos: windows diff --git a/go.mod b/go.mod index 56ea97e..78eebc3 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,3 @@ module IPRegion go 1.18 - -require github.com/lionsoul2014/ip2region v2.2.0-release+incompatible diff --git a/resJSON.go b/resJSON.go index 5da1285..28faaa1 100644 --- a/resJSON.go +++ b/resJSON.go @@ -1,10 +1,10 @@ package main -type IpInfo struct { - CityId int64 - Country string - Region string - Province string - City string - ISP string -} +//type IpInfo struct { +// CityId int64 +// Country string +// Region string +// Province string +// City string +// ISP string +//}