From 2cc2b811edf2e102198cbcc60911fe0c512e0c55 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 28 Oct 2021 01:20:03 +0700 Subject: [PATCH] syntax highlighting --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index cf6fd8d..a74f5ed 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Import # Example Use Cases #### Get Search Results -``` +```go func main() { hunsen := goduckgo.Search(goduckgo.Query{Keyword: "duck"}) fmt.Print(hunsen.Results) @@ -19,7 +19,7 @@ func main() { ``` #### Get Search Result Image -``` +```go func main() { hunsen := goduckgo.Search(goduckgo.Query{Keyword: "duck"}) for _, somtam := range hunsen.Results { @@ -30,7 +30,7 @@ func main() { } ``` #### Specific P and S -``` +```go func main() { hunsen := goduckgo.Search(goduckgo.Query{Keyword: "duck", P: "1", S: "200"}) fmt.Print(hunsen.Results)