We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80e8a58 commit f56c2edCopy full SHA for f56c2ed
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