golang-github-pelletier-go-toml.v2 2.1.1-1 source package in Ubuntu
Changelog
golang-github-pelletier-go-toml.v2 (2.1.1-1) unstable; urgency=medium * New upstream version 2.1.1 -- Anthony Fok <email address hidden> Wed, 31 Jan 2024 04:58:06 -0700
Upload details
- Uploaded by:
- Debian Go Packaging Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Go Packaging Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Noble | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
golang-github-pelletier-go-toml.v2_2.1.1-1.dsc | 2.4 KiB | d7b81a99449df6e521ba8d4ab0514628638eb45ff7d38517c9153316f93c8b26 |
golang-github-pelletier-go-toml.v2_2.1.1.orig.tar.gz | 885.6 KiB | 372ec9b709082b04bafa60e87bbf40585cb7ad5de2cf632387a54ba242a0e825 |
golang-github-pelletier-go-toml.v2_2.1.1-1.debian.tar.xz | 5.4 KiB | a2e00d8a1b2d3473a40eee95db2cffa8fb7d1b45b63ed20f5c61cd5385bdf2f6 |
Available diffs
- diff from 2.1.0-1 to 2.1.1-1 (26.2 KiB)
No changes file available.
Binary packages built by this source
- golang-github-pelletier-go-toml.v2-dev: Go library for the TOML format (go-toml v2)
go-toml v2 is a Go library for the TOML format.
It supports TOML (Tom's Obvious, Minimal Language) version v1.0.0.
.
Features:
.
Stdlib behavior
As much as possible, this library is designed to behave similarly
as the standard library's encoding/json.
.
Performance
While go-toml favors usability, it is written with performance in mind.
Most operations should not be shockingly slow.
.
Strict mode
Decoder can be set to "strict mode", which makes it error when some parts
of the TOML document was not prevent in the target structure.
This is a great way to check for typos.
.
Contextualized errors
When decoding errors occur, go-toml returns DecodeError), which contains
a human readable contextualized version of the error.
.
Local date and time support
TOML supports native local date/times. It allows to represent a given
date, time, or date-time without relation to a timezone or offset.
To support this use-case, go-toml provides LocalDate, LocalTime, and
LocalDateTime. Those types can be transformed to and from time.Time,
making them convenient yet unambiguous structures for their respective
TOML representation.