From 19996cc2df248d2ac5c5a0184c5e07fb6e1c009b Mon Sep 17 00:00:00 2001 From: sre Date: Mon, 11 Jul 2022 09:59:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E9=80=A0=20=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- go.mod | 2 -- resJSON.go | 16 ++++++++-------- 3 files changed, 9 insertions(+), 11 deletions(-) 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 +//}