mirror of
https://github.com/xiaoqidun/qqwry.git
synced 2023-06-27 14:38:22 +08:00
docs(更新文档): 更新文档
This commit is contained in:
parent
a95d612bbe
commit
021ab50216
@ -18,8 +18,8 @@ func main() {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
// 从内存或缓存查询IP
|
// 从内存或缓存查询IP
|
||||||
country, area, err := qqwry.QueryIP("1.1.1.1")
|
city, area, err := qqwry.QueryIP("1.1.1.1")
|
||||||
log.Printf("国家:%s,区域:%s,错误:%v", country, area, err)
|
log.Printf("城市:%s,区域:%s,错误:%v", city, area, err)
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user