Package: wnpp Severity: wishlist Owner: Simon Josefsson <[email protected]>
* Package name : golang-github-sosodev-duration Version : 1.3.0-1 Upstream Author : Kyle McGough * URL : https://github.com/sosodev/duration * License : Expat Programming Lang: Go Description : ISO 8601 duration parsing in Go This a Go module for parsing ISO 8601 durations and converting them to the often much more useful time.Duration. . ISO 8601 is a pretty common standard and sometimes these durations show up in the wild. See https://en.wikipedia.org/wiki/ISO_8601#Durations . This module aims to implement the ISO 8601 duration specification correctly. It properly supports fractional units and has unit tests that assert the correctness of it's parsing and conversion to a time.Duration. . With that said durations with months or years specified will be converted to time.Duration with a little fuzziness. It uses 2.628e+15 nanoseconds for a month and 3.154e+16 nanoseconds for a year. Needed by github.com/99designs/gqlgen needed by in-toto-archivista https://salsa.debian.org/go-team/packages/golang-github-sosodev-duration https://salsa.debian.org/jas/golang-github-sosodev-duration/-/pipelines /Simon
signature.asc
Description: PGP signature

