Discover Packages
github.com/lendi-au/helm-janitor
pkg
utils
package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Oct 22, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types type Time ParseTime(input)
Documentation
¶
type Time struct {
Days int
Hours int
Minutes int
Seconds int
}
Time is
func ParseTime (input string ) (Time, error )
ParseTime expects one of the following:
'2d' = 2 days; '2h' 2 hours; '2m' = 2 minutes; '2s' = 2 seconds
Number followed by d, h, m or s.
Returned struct Time as an approximation of the input.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.