Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
schollz committed Feb 4, 2019
1 parent 4b1ac95 commit 462ad12
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ go get github.com/schollz/googleit


```golang
urls, err := googleit.Search("cats")
searchTerm := "cats wiki"
numPages := 1
urls, _ := googleit.Search(searchTerm, numPages)
fmt.Println(urls[0])
// https://en.wikipedia.org/wiki/Cat
```

## Contributing
Expand Down

0 comments on commit 462ad12

Please sign in to comment.