From a0ae04c494b46d6848b3295f4e83e79a2a79c083 Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Thu, 9 Jul 2020 19:59:39 +0000 Subject: [PATCH] updated Update() doc --- stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream.go b/stream.go index adb60af..cc59401 100755 --- a/stream.go +++ b/stream.go @@ -35,7 +35,7 @@ func NewStream(URL string) Stream { return stream } -// Update calls itself every Interval milliseconds +// Update gets called by UpdateInterval Interval milliseconds to fetch the latest instant func (s Stream) Update() { log.Print("Update:", s.URL) resp, err := http.Get(s.URL)