Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
MarketDataApp committed Feb 21, 2024
1 parent 5df0b04 commit 1eacdfb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helpers/dates/dates.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 1eacdfb

Please sign in to comment.