Skip to content

Commit

Permalink
readme terms
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotwutingfeng committed Jul 20, 2022
1 parent b08d7b5 commit 699c359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ res, _ := extractor.Extract(fasttld.URLParams{URL: url, ConvertURLToPunyCode: tr

## Parsing errors

If the URL is invalid, the second variable returned by `Extract()`, **error**, will be non-nil. Partially extracted subcomponents can still be retrieved from the first variable returned, **ExtractResult**.
If the URL is invalid, the second value returned by `Extract()`, **error**, will be non-nil. Partially extracted subcomponents can still be retrieved from the first value returned, **ExtractResult**.

```go
extractor, _ := fasttld.New(fasttld.SuffixListParams{})
Expand Down

0 comments on commit 699c359

Please sign in to comment.