From 1eacdfbaddd8359efffd33e66d3a4c796fd3faef Mon Sep 17 00:00:00 2001 From: MarketDataApp Date: Wed, 21 Feb 2024 08:52:03 -0300 Subject: [PATCH] fixed typos --- helpers/dates/dates.go | 2 +- logging.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }