🎨 update / add nsq

This commit is contained in:
landaiqing
2024-09-28 23:36:26 +08:00
parent bd2e8b8f6c
commit 83b6fb6322
33 changed files with 1754 additions and 773 deletions

View File

@@ -6,7 +6,7 @@ import (
)
func InitIP2Region() {
var dbPath = "ip2region/ip2region.xdb"
var dbPath = "resource/ip2region/ip2region.xdb"
cBuff, err := xdb.LoadContentFromFile(dbPath)
if err != nil {
global.LOG.Errorf("failed to load vector index from `%s`: %s\n", dbPath, err)