We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a57053 commit d304c82Copy full SHA for d304c82
2 files changed
README.md
@@ -32,6 +32,7 @@ Heres an example of fetching a website and parsing and then using querying metho
32
if err != nil {
33
t.Fatal(err)
34
}
35
+ defer res.Body.Close()
36
37
//Parses the given html reader and then returns the root node and an error.
38
node, err := GoHtml.Decode(res.Body)
benchmarks/benchmark_test.go
@@ -12,6 +12,7 @@ func TestFetchPostCovers(t *testing.T){
12
13
14
15
16
17
tim := time.Now()
18
0 commit comments