Skip to content

Commit

Permalink
modified readme
Browse files Browse the repository at this point in the history
  • Loading branch information
0x4f53 committed Aug 5, 2024
1 parent 1af4c06 commit 54ea07d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,22 @@ for index, sub := subdomains {
#### func SubdomainsOnly(text string, removeDuplicates bool)

Returns: only the subdomains (subdomain.example.com) as a list of strings

Inputs:
text (string) -> The text to parse
removeDuplicates (bool) -> return only unique names

Output:
subdomains ([]string) -> a list of captured subdomains

#### func DomainsOnly(text string, removeDuplicates bool)

Returns: only the domains (example.com) as a list of strings

Inputs:
text (string) -> The text to parse
removeDuplicates (bool) -> return only unique names

Output:
domains ([]string) -> a list of captured domains

Expand Down

0 comments on commit 54ea07d

Please sign in to comment.