Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
rhino1998 committed Sep 30, 2024
1 parent e972602 commit b519916
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions configtype/time.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ var (

humanDurationSegmentPattern = fmt.Sprintf(`(([0-9]+\s+(%[1]s)|%[2]s))`, humanDurationUnitsPattern, baseDurationSegmentPattern)

humanDurationPattern = fmt.Sprintf(`^%[1]s(\s+%[1]s)*$`, humanDurationSegmentPattern)

humanRelativeDurationPattern = fmt.Sprintf(`^%[1]s(\s+%[1]s)*\s+(%[2]s)$`, humanDurationSegmentPattern, humanDurationSignsPattern)
humanRelativeDurationRegexp = regexp.MustCompile(humanRelativeDurationPattern)

Expand Down

0 comments on commit b519916

Please sign in to comment.