From ad4253dbb0ca39a2422c0144c908d181cfada3c7 Mon Sep 17 00:00:00 2001 From: lionsoul2014 Date: Wed, 28 Jan 2026 22:48:03 +0800 Subject: [PATCH] update the demo tests result with the latest data --- maker/golang/README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/maker/golang/README.md b/maker/golang/README.md index 75d9164..792f0cd 100644 --- a/maker/golang/README.md +++ b/maker/golang/README.md @@ -56,8 +56,9 @@ commands: clearIndex: clear the vector index. quit : exit the test program ip2region>> 58.251.30.115 -{region:中国|广东省|深圳市|联通, iocount:3, took:37.043µs} -ip2region>> +{region:中国|广东省|深圳市|联通|CN, iocount:2, took:27.893µs} +ip2region>> 1.2.3.4 +{region:Australia|Queensland|Brisbane|0|AU, iocount:5, took:58.746µs} # ipv6 ./xdb_maker search --db=../../data/ip2region_v6.xdb @@ -68,8 +69,9 @@ commands: clearIndex: clear the vector index. quit : exit the test program ip2region>> 2604:bc80:8001:11a4:ffff:ffff:ffff:ffff -{region:中国|广东省|深圳市|数据中心, iocount:14, took:138.68µs} -ip2region>> +{region:United States|Florida|Miami|velia.net Internetdienste GmbH|US, iocount:15, took:140.942µs} +ip2region>> 240e:3b7:3273:51d0:13f9:bf0:3db1:aa3f +{region:中国|广东省|深圳市|电信|CN, iocount:9, took:67.058µs} ``` # `xdb` 数据编辑 @@ -99,7 +101,7 @@ editor>> 通过 `put` 命令修改指定 IP 段的定位信息,例如: ```bash -editor>> put 36.132.128.0|36.132.147.255|中国|黑龙江省|哈尔滨市|移动 +editor>> put 36.132.128.0|36.132.147.255|中国|黑龙江省|哈尔滨市|移动|CN Put(36.132.128.0|36.132.147.255|中国|黑龙江省|哈尔滨市|移动): Ok, with 1 deletes and 2 additions *editor>> ```