feat(升级依赖): 升级golang.org/x/text到v0.41.0

This commit is contained in:
2026-08-20 22:31:03 +08:00
parent be3d2225df
commit d3a364369d
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ func (c *Client) QueryIP(ip string) (location *Location, err error) {
return nil, errors.New("data type not support")
}
if err == nil && location != nil {
c.cache.Add(ip, location)
c.cache.Add(ip, location.Clone())
}
return location, err
}