We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2bb8059 + f56c2ed commit d330e9aCopy full SHA for d330e9a
text/gstr/gstr_domain.go
@@ -24,7 +24,7 @@ func IsSubDomain(subDomain string, mainDomain string) bool {
24
// Eg:
25
// "s.s.goframe.org" is not sub-domain of "*.goframe.org"
26
// but
27
- // "s.s.goframe.org" is not sub-domain of "goframe.org"
+ // "s.s.goframe.org" is sub-domain of "goframe.org"
28
if mainLength > 2 && subLength > mainLength {
29
return false
30
}
0 commit comments