Updated go, useragent and added example

This commit is contained in:
Chris Joyce
2023-05-25 14:56:25 +10:00
parent 42aab3d7fc
commit f72b448bec
3 changed files with 14 additions and 2 deletions

13
example/main.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import (
"context"
"fmt"
googlesearch "github.com/chrisjoyce911/google-search"
)
func main() {
fmt.Println(googlesearch.Search(context.Background(), "First Aid Course Australia Wide First Aid"))
}