Debian Codegraph @

debian/control

raw symbols SCIP
1 Source: golang-github-sosodev-duration
2 Section: golang
3 Maintainer: Debian Go Packaging Team <[email protected]>
4 Uploaders:
5 Simon Josefsson <[email protected]>,
6 Build-Depends:
7 debhelper-compat (= 13),
8 dh-sequence-golang,
9 dpkg-build-api (= 1),
10 golang-any,
11 Testsuite: autopkgtest-pkg-go
12 Standards-Version: 4.7.4
13 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-sosodev-duration
14 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-sosodev-duration.git
15 Homepage: https://github.com/sosodev/duration
16 XS-Go-Import-Path: github.com/sosodev/duration
17
18 Package: golang-github-sosodev-duration-dev
19 Architecture: all
20 Multi-Arch: foreign
21 Depends:
22 ${misc:Depends},
23 Description: ISO 8601 duration parsing in Go (library)
24 This a Go module for parsing ISO 8601 durations and converting them
25 to the often much more useful time.Duration.
26 .
27 ISO 8601 is a pretty common standard and sometimes these durations show
28 up in the wild. See https://en.wikipedia.org/wiki/ISO_8601#Durations
29 .
30 This module aims to implement the ISO 8601 duration specification
31 correctly. It properly supports fractional units and has unit tests that
32 assert the correctness of it's parsing and conversion to a
33 time.Duration.
34 .
35 With that said durations with months or years specified will be
36 converted to time.Duration with a little fuzziness. It uses
37 2.628e+15 nanoseconds for a month and 3.154e+16 nanoseconds for a year.
38 .
39 This package contains the Go development library.