pelletier/go-toml
Go library for the TOML file format observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 95
- Release rhythm 91
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 24.0
- age_days: 4938
- days_rel: 60
- days_push: 30
- n_releases_24m: 7
Adoption not part of the score
1982 stars · 251 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
go-toml v2 is a Go library for parsing and encoding the TOML file format, supporting TOML v1.1.0. It is designed to behave like the standard library's encoding/, with strict mode, contextualized decode errors, and local date/time types.
Use cases
- parse TOML config files in Go
- marshal Go structs to TOML
- unmarshal TOML documents into structs
- validate TOML files against a struct with strict mode
- generate commented TOML configuration files
- handle TOML local date and time values
When to choose
- you need TOML support in a Go project
- you want encoding/-like ergonomics for TOML
- you need helpful, contextualized decode errors
- performance matters for TOML parsing
When to avoid
- you work in a language other than Go
- you need a general-purpose config format like YAML or JSON instead of TOML
Facets
library · maturity stable
serialization parser configuration-management developer-tools files backend go cross-platform toml config-files encoding decoding
2 sources
- readme: https://github.com/pelletier/go-toml · fetched 2026-08-28 · d468ab46e207
- homepage: https://github.com/pelletier/go-toml · fetched 2026-08-29 · a69c03751b1e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pelletier/go-toml | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="pelletier/go-toml")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem