diff --git a/text/gstr/gstr_domain.go b/text/gstr/gstr_domain.go index ae4155277..45f31bb72 100644 --- a/text/gstr/gstr_domain.go +++ b/text/gstr/gstr_domain.go @@ -24,7 +24,7 @@ func IsSubDomain(subDomain string, mainDomain string) bool { // Eg: // "s.s.goframe.org" is not sub-domain of "*.goframe.org" // but - // "s.s.goframe.org" is not sub-domain of "goframe.org" + // "s.s.goframe.org" is sub-domain of "goframe.org" if mainLength > 2 && subLength > mainLength { return false }