diff --git a/helpers/dates/dates.go b/helpers/dates/dates.go index 8ce560d..93ea069 100644 --- a/helpers/dates/dates.go +++ b/helpers/dates/dates.go @@ -306,7 +306,7 @@ func (dr *DateRange) IsEarlierThan(date interface{}) (bool, error) { } // IsLaterThan is a method that takes a parameter of type interface. -// It converts the parameter to a Time when necessary and compares if the end date of the DateRange is later than the end date of the paramter passed. +// It converts the parameter to a Time when necessary and compares if the end date of the DateRange is later than the end date of the parameter passed. func (dr *DateRange) IsLaterThan(date interface{}) (bool, error) { var compareDate time.Time switch date := date.(type) { diff --git a/logging.go b/logging.go index 3e136c1..3ef706d 100644 --- a/logging.go +++ b/logging.go @@ -162,7 +162,7 @@ type LogEntry struct { Request string // The URL of the HTTP Request Status int // The status code of the response RateLimitConsumed int // The number of requests consumed from the rate limit - Delay int64 // The time (in miliseconds) between the request and the server's response + Delay int64 // The time (in milliseconds) between the request and the server's response Response string // The server response memory int64 // The amount of memory (in bytes) used by the log entry }