//
pkg.gl
Category
github.com/checkmarble/marble-backend
pure_utils
duration
package
0.30.0
Repository:
https://github.com/checkmarble/marble-backend.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
5
Dependents
2
Files
250 SLOC
#
Functions
Parse
Parse attempts to parse the given duration string into a *Duration, if parsing fails an error is returned instead.
#
Variables
ErrUnexpectedInput
ErrUnexpectedInput is returned when an input in the duration string does not match expectations.
#
Structs
Duration
Duration holds all the smaller units that make up the duration.