From 54cc672dfcea44a893891cdfb2ec78bd55ff1e02 Mon Sep 17 00:00:00 2001 From: Winni Neessen Date: Tue, 27 Jun 2023 19:12:35 +0200 Subject: [PATCH] Refine comment for DateTime function in speed.go The comment for the DateTime function in the speed.go file was slightly confusing and inaccurate. It has been updated to more accurately reflect its purpose and functionality. It now clearly states that the function returns the DateTime when the Speed was checked, as originally intended. --- speed.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/speed.go b/speed.go index 3570c4d..5c22a7a 100644 --- a/speed.go +++ b/speed.go @@ -29,8 +29,7 @@ func (s Speed) IsAvailable() bool { return !s.na } -// DateTime returns true if an Speed value was -// available at time of query +// DateTime returns the DateTime when the Speed was checked func (s Speed) DateTime() time.Time { return s.dt }