burntsushi/toml

TOML parser for Golang with reflection.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 23 minutes ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on September 13th, 2026
Created on February 26th, 2013
Open Issues & Pull Requests: 27 (+0)
GitHub issues: Enabled
Number of forks: 558
Total Stargazers: 5,005 (+0)
Total Subscribers: 75 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.4 hours
Mean response time: 174.0 days
90th percentile: 173.9 days
Tracked items: 36

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 16
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 1,388 days
Stale 30+ days: 15
Stale 90+ days: 11

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • v2 (8)
  • enhancement (4)
  • bug (3)
  • waiting-feedback (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

TOML is a TOML parser for Go that provides a reflection interface similar to the standard library's json and xml packages.

The tool solves the problem of parsing TOML configuration files in Go applications. It works by accepting TOML input and decoding it into Go structs using reflection, allowing developers to map configuration data directly into typed Go values. The parser is compatible with TOML version 1.1.0 and supports struct tags for custom field mapping, as well as the Marshaler and TextUnmarshaler interfaces for custom type handling.

Developers should choose this tool if they are building Go applications that need to read TOML configuration files. It suits projects of any scale that prefer TOML's human-readable syntax over JSON or other formats. The package requires Go 1.19 or newer and integrates into projects via standard Go module dependency management. Beyond the core library, the tool includes a command-line validator utility for checking TOML file syntax independently.

The project maintains a stable, well-documented codebase with a changelog accessible through both the releases page and git tag annotations. Development activity is measured and tracked through standard repository metrics.