Update dependencies

This commit is contained in:
世界
2024-05-15 21:54:49 +08:00
parent bbd9f11bb9
commit e6f92f0e9c
4 changed files with 51 additions and 43 deletions

View File

@@ -4,6 +4,7 @@ import (
"context"
"crypto/sha256"
"encoding/hex"
"fmt"
"io"
"net/http"
"os"
@@ -215,6 +216,9 @@ func filterTags(data map[string][]geosite.Item) {
}
for _, it := range badCodeList {
badList := data[it.badCode]
if it.badCode == "geolocation-!cn@cn" {
fmt.Println(badList)
}
if badList == nil {
panic("bad list not found: " + it.badCode)
}