(timestamp string)
| 266 | } |
| 267 | |
| 268 | func parseTimestamp(timestamp string) (time.Time, error) { |
| 269 | if timestamp == "" { |
| 270 | return time.Time{}, nil |
| 271 | } |
| 272 | |
| 273 | //nolint:wrapcheck |
| 274 | return time.Parse(timeFormat, timestamp) |
| 275 | } |
| 276 | |
| 277 | func startTimeAfterEndTime(startTime, endTime time.Time) bool { |
| 278 | return !startTime.IsZero() && |
no test coverage detected