Skip to content
Sections
>> Trisquel >> Balíky >> aramo >> golang >> golang-github-pelletier-go-toml.v2-dev
aramo  ]

Balík: golang-github-pelletier-go-toml.v2-dev (2.0.0~beta6-1)

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.

Ostatné balíky súvisiace s balíkom golang-github-pelletier-go-toml.v2-dev

  • závisí
  • odporúča
  • navrhuje

Stiahnuť golang-github-pelletier-go-toml.v2-dev

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 836.9 kB1234 kB [zoznam súborov]