mirror of
https://github.com/SagerNet/sing-geosite.git
synced 2025-12-16 14:23:16 +08:00
Update dependencies
This commit is contained in:
4
main.go
4
main.go
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user