Merge pull request #40 from ithinco/master

Fixture on example code
This commit is contained in:
Martin Angers
2014-07-11 21:12:10 -04:00
+2 -1
View File
@@ -73,7 +73,8 @@ func ExampleScrape_MetalSucks() {
// Load the HTML document (in real use, the type would be *goquery.Document)
var doc *Document
var e error
// Initialize doc, (in real use, the method would be goquery.NewDocument)
if doc, e = NewDocument("http://metalsucks.net"); e != nil {
log.Fatal(e)
}