Merge 369352a8ab66db234b7b63606e7fe24c407fe040 into 38f76ddd2ec18dc8f4f4b85f579c00fc8d6f7e21

This commit is contained in:
kkocdko 2024-01-24 08:15:57 +00:00 committed by GitHub
commit 8e9e6d966c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,11 +30,11 @@ func NewDomainItem(domains []string, domainSuffixes []string) *DomainItem {
description += " "
}
if dsLen == 1 {
description += "domainSuffix=" + domainSuffixes[0]
description += "domain_suffix=" + domainSuffixes[0]
} else if dsLen > 3 {
description += "domainSuffix=[" + strings.Join(domainSuffixes[:3], " ") + "...]"
description += "domain_suffix=[" + strings.Join(domainSuffixes[:3], " ") + "...]"
} else {
description += "domainSuffix=[" + strings.Join(domainSuffixes, " ") + "]"
description += "domain_suffix=[" + strings.Join(domainSuffixes, " ") + "]"
}
}
return &DomainItem{