Update example to showcase changing and saving a value to the cache file
This commit is contained in:
1 parent
d365d062a1
commit
2775e7c063
1 file changed
+3
@@ -27,6 +27,9 @@ func main() {
|
||||
log.Println("Scraper failed:", err)
|
||||
}
|
||||
|
||||
// change this value before saving
|
||||
scraper.Debug = true
|
||||
|
||||
err = scraper.Save("test.gob")
|
||||
if err != nil {
|
||||
log.Println("Save failed:", err)
|
||||
|
||||
Reference in new issue
Block a user