diff --git a/humidity.go b/humidity.go index 6dc1175..9dc167f 100644 --- a/humidity.go +++ b/humidity.go @@ -20,8 +20,8 @@ func (h Humidity) IsAvailable() bool { return !h.na } -// DateTime returns true if an Humidity value was -// available at time of query +// DateTime returns the timestamp of when the humidity +// measurement was taken. func (h Humidity) DateTime() time.Time { return h.dt } @@ -39,7 +39,7 @@ func (h Humidity) Source() Source { // Value returns the float64 value of an Humidity // If the Humidity is not available in the WeatherData -// Vaule will return math.NaN instead. +// Value will return math.NaN instead. func (h Humidity) Value() float64 { if h.na { return math.NaN()