docs(更新文档): 更新文档

This commit is contained in:
xiaoqidun 2021-01-21 18:08:31 +08:00
parent a95d612bbe
commit 021ab50216

View File

@ -18,8 +18,8 @@ func main() {
panic(err)
}
// 从内存或缓存查询IP
country, area, err := qqwry.QueryIP("1.1.1.1")
log.Printf("国家:%s区域%s错误%v", country, area, err)
city, area, err := qqwry.QueryIP("1.1.1.1")
log.Printf("城市:%s区域%s错误%v", city, area, err)
}
```