From 462ad127eed0a0549e500d8a5c99839690ee72d6 Mon Sep 17 00:00:00 2001 From: Zack Scholl Date: Mon, 4 Feb 2019 06:36:28 -0800 Subject: [PATCH] update readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d4558f..5b0f545 100644 --- a/README.md +++ b/README.md @@ -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