Updated go, useragent and added example

This commit is contained in:
Chris Joyce
2023-05-25 14:56:25 +10:00
parent daa5aaebed
commit 108aac8b0e
5 changed files with 107 additions and 22 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"))
}