Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Giachetta committed Jul 22, 2021
1 parent d3c7912 commit c177f9f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions domain/func.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func Contains(first, second string) bool {
return firstD.Contains(secondD)
}

// Contains indicates whether this domain matches another domain or is a parent of another domain
// IsParentOf indicates whether this domain matches another domain or is a parent of another domain
//
// Returns false if either domain names are empty or invalid.
func IsParentOf(first, second string) bool {
Expand Down Expand Up @@ -184,7 +184,7 @@ func IsSubdomainOf(first, second string) bool {
return firstD.IsSubdomainOf(secondD)
}

// IsSubdomainOf indicates whether the first domain is an immediate subdomain of the second domain
// IsImmediateSubdomainOf indicates whether the first domain is an immediate subdomain of the second domain
//
// Returns false if either domain names are empty or invalid.
func IsImmediateSubdomainOf(first, second string) bool {
Expand Down
2 changes: 1 addition & 1 deletion validate/ip.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ func IP(s string) error {
return ip.Validate(s)
}

// IP determines whether a string is a valid, non-reserved IP address
// NonReservedIP determines whether a string is a valid, non-reserved IP address
func NonReservedIP(s string) error {
return ip.ValidateNonReserved(s)
}

0 comments on commit c177f9f

Please sign in to comment.