Go library for the TOML format. This library supports TOML v1.0.0. Full API, examples, and implementation notes are available in the Go documentation. As much as possible, this library is designed to behave similarly as the standard library's encoding/json. While go-toml favors usability, it is written with performance in mind. Most operations should not be shockingly slow. Decoder can be set to "strict mode", which makes it error when some parts of the TOML document was not present in the target structure. This is a great way to check for typos. When most decoding errors occur, go-toml returns DecodeError), which contains a human readable contextualized version of the error. 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.

Features

  • Go library for the TOML format
  • This library supports TOML v1.0.0
  • Full API, examples
  • Implementation notes are available in the Go documentation
  • Stdlib behavior
  • Strict mode
  • Contextualized errors

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow go-toml

go-toml Web Site

Other Useful Business Software
Dun and Bradstreet Connect simplifies the complex burden of data management Icon
Dun and Bradstreet Connect simplifies the complex burden of data management

Our self-service data management platform enables your organization to gain a complete and accurate view of your accounts and contacts.

The amount, speed, and types of data created in today’s world can be overwhelming. With D&B Connect, you can instantly benchmark, enrich, and monitor your data against the Dun & Bradstreet Data Cloud to help ensure your systems of record have trusted data to fuel growth.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of go-toml!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Libraries

Registered

2023-02-03