Debian Codegraph @

debian/control

raw
1 Source: golang-github-pelletier-go-toml.v2
2 Section: golang
3 Maintainer: Debian Go Packaging Team <[email protected]>
4 Uploaders: Dr. Tobias Quathamer <[email protected]>,
5 Anthony Fok <[email protected]>
6 Build-Depends: debhelper-compat (= 13),
7 dh-sequence-golang,
8 golang-any (>= 2:1.16~),
9 Testsuite: autopkgtest-pkg-go
10 Standards-Version: 4.7.4
11 Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-pelletier-go-toml.v2
12 Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-pelletier-go-toml.v2.git
13 Homepage: https://github.com/pelletier/go-toml
14 XS-Go-Import-Path: github.com/pelletier/go-toml/v2
15
16 Package: golang-github-pelletier-go-toml.v2-dev
17 Architecture: all
18 Multi-Arch: foreign
19 Depends: ${misc:Depends}
20 Description: Go library for the TOML format (go-toml v2)
21 go-toml v2 is a Go library for the TOML format.
22 It supports TOML (Tom's Obvious, Minimal Language) version v1.0.0.
23 .
24 Features:
25 .
26 Stdlib behavior
27 As much as possible, this library is designed to behave similarly
28 as the standard library's encoding/json.
29 .
30 Performance
31 While go-toml favors usability, it is written with performance in mind.
32 Most operations should not be shockingly slow.
33 .
34 Strict mode
35 Decoder can be set to "strict mode", which makes it error when some parts
36 of the TOML document was not prevent in the target structure.
37 This is a great way to check for typos.
38 .
39 Contextualized errors
40 When decoding errors occur, go-toml returns DecodeError), which contains
41 a human readable contextualized version of the error.
42 .
43 Local date and time support
44 TOML supports native local date/times. It allows to represent a given
45 date, time, or date-time without relation to a timezone or offset.
46 To support this use-case, go-toml provides LocalDate, LocalTime, and
47 LocalDateTime. Those types can be transformed to and from time.Time,
48 making them convenient yet unambiguous structures for their respective
49 TOML representation.