# Functions
CompareISO8601Dates is a convenient method to compare that one ISO8601 date is older than the other.
DecodeJSONStrict decodes into the given `i` while making sure not to allow extra fields that are not present in the struct for a strict decoding.
ISO8601ShortDateToTime converts a date like 2021-07-22 as a time.Time.
IsValidHostnamePort returns true if the given hostport is a valid host:port.
ValidateJSONBody parses the given JSON from the request, unmarshalls it into the given `dest`.
ValidatorErrorMessage returns the first error message after validation; if it's not an instance of ValidationErrors then it will just return the normal .Error().