This is a breaking change!
- No need to use a
Parserstruct and initialize it. NewStr2DurationParserfunction removed.Str2Durationis a public function in the package and it's not part of a struct.
This is a breaking change!
Parser struct and initialize it.NewStr2DurationParser function removed.Str2Duration is a public function in the package and it's not part of a struct.