Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bobgroup-go-utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bob Public Utils
bobgroup-go-utils
Commits
fe363a19
Commit
fe363a19
authored
9 months ago
by
Daniel Naude
Browse files
Options
Downloads
Patches
Plain Diff
Remove unecessary comment
parent
daab1fd2
No related branches found
No related tags found
1 merge request
!51
Refactor TradingHours struct and validation
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
date_utils/date_utils.go
+0
-2
0 additions, 2 deletions
date_utils/date_utils.go
with
0 additions
and
2 deletions
date_utils/date_utils.go
+
0
−
2
View file @
fe363a19
...
@@ -325,8 +325,6 @@ func formatTimestampsWithTimeZoneInSlice(fieldValue reflect.Value, location *tim
...
@@ -325,8 +325,6 @@ func formatTimestampsWithTimeZoneInSlice(fieldValue reflect.Value, location *tim
return
nil
return
nil
}
}
// TradingHours represents an array of (StartTime,EndTime) pairs, one for each day of the week.
// The array is 0 indexed, with 0 being Sunday and 6 being Saturday and 7 being public holidays.
type
TradingHours
struct
{
type
TradingHours
struct
{
Monday
TradingHoursDay
`json:"monday"`
Monday
TradingHoursDay
`json:"monday"`
Tuesday
TradingHoursDay
`json:"tuesday"`
Tuesday
TradingHoursDay
`json:"tuesday"`
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment