mirror of
https://github.com/nxtrace/NTrace-core.git
synced 2025-08-12 06:26:39 +00:00
18 lines
326 B
Go
18 lines
326 B
Go
package dn42
|
|
|
|
// func TestGeoFeed(t *testing.T) {
|
|
// rows, err := ReadGeoFeed()
|
|
// if err != nil {
|
|
// // 处理错误
|
|
// }
|
|
|
|
// row, found := FindGeoFeedRow("2001:0418:1403:8080::6fff", rows)
|
|
// if found {
|
|
// // 处理符合条件的 row
|
|
// log.Println(row)
|
|
// } else {
|
|
// // 处理未找到的情况
|
|
// }
|
|
|
|
// }
|