- update readme

This commit is contained in:
rocketlaunchr-cto 2020-03-11 15:33:36 +11:00
parent 9a5a226b03
commit ad9d95d3fa
2 changed files with 8 additions and 2 deletions

View File

@ -21,6 +21,12 @@ func main() {
}
```
## Warning
The implementation relies on Google's search page DOM being constant. If it changes, then the implementation will break. Having said that, it hasn't changed for years.
In the event it changes, this package will be updated as soon as possible.
Other useful packages
------------

View File

@ -40,7 +40,7 @@ var GoogleDomains = map[string]string{
"nz": "https://www.google.co.nz/search?q=",
}
// SearchOptions modifies how Search function behaves.
// SearchOptions modifies how the Search function behaves.
type SearchOptions struct {
// CountryCode sets the ISO 3166-1 alpha-2 code of the localized Google Search homepage to use.