From 2775e7c063e7a96c4e3f59d343e2a13884fa7634 Mon Sep 17 00:00:00 2001 From: Amrit Panesar Date: Thu, 29 Oct 2020 15:46:49 -0700 Subject: [PATCH] Update example to showcase changing and saving a value to the cache file --- example/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/example/main.go b/example/main.go index d836a22..b8cdb54 100644 --- a/example/main.go +++ b/example/main.go @@ -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)