Chore: typos

This commit is contained in:
yaling888
2022-06-08 08:20:14 +08:00
parent c1821e28d3
commit 26dd6343a1
6 changed files with 25 additions and 28 deletions

View File

@@ -51,11 +51,11 @@ func NewGEOSITE(country string, adapter string) (*GEOSITE, error) {
return nil, fmt.Errorf("load GeoSite data error, %s", err.Error())
}
cont := fmt.Sprintf("%d", recordsCount)
count := fmt.Sprintf("%d", recordsCount)
if recordsCount == 0 {
cont = "from cache"
count = "from cache"
}
log.Infoln("Start initial GeoSite rule %s => %s, records: %s", country, adapter, cont)
log.Infoln("Start initial GeoSite rule %s => %s, records: %s", country, adapter, count)
geoSite := &GEOSITE{
Base: &Base{},