Refactor TradingHours struct and validation
All threads resolved!
All threads resolved!
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.
+ 125
− 116
@@ -2,15 +2,15 @@ package date_utils
@@ -325,146 +325,155 @@ func formatTimestampsWithTimeZoneInSlice(fieldValue reflect.Value, location *tim