Update example to showcase changing and saving a value to the cache file

This commit is contained in:
Amrit Panesar committed 2020-10-29 15:46:49 -07:00
1 parent d365d062a1
commit 2775e7c063
1 file changed
+3
+3
View File
@@ -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)