Refactor TradingHours struct and validation
Compare changes
- Daniel Naude authored
Refactor the TradingHours struct to have separate fields for each day of the week and holidays. Also, update the validation logic to validate each day individually.
+ 126
− 114
@@ -2,15 +2,15 @@ package date_utils
@@ -327,144 +327,156 @@ func formatTimestampsWithTimeZoneInSlice(fieldValue reflect.Value, location *tim