go-ini/ini

Package ini provides INI file read and write functionality in Go

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 22 minutes ago
Type:Library / SDKCategory(s):Core & Utility LibrariesLanguages & Runtimes
Added to GitGenius on September 19th, 2026
Created on December 18th, 2014
Open Issues & Pull Requests: 95 (+0)
GitHub issues: Enabled
Number of forks: 391
Total Stargazers: 3,543 (+0)
Total Subscribers: 71 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 23.4 hours
Mean response time: 264.7 days
90th percentile: 671.5 days
Tracked items: 10

Most active contributors

Sign in to see contributor activity.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 22
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 595 days
Stale 30+ days: 20
Stale 90+ days: 17

Recent activity

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

Top labels

  • bug (18)
  • feature (5)
  • documentation (1)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

ini is a Go package that provides INI file read and write functionality.

The package solves the problem of parsing and manipulating INI configuration files in Go applications. It supports loading from multiple data sources including files, byte slices, and io.Reader interfaces, with the ability to apply overwrites across sources. The tool handles advanced INI features such as recursive value resolution, parent-child section hierarchies, auto-increment key names, and multi-line values. It preserves the order of sections and keys during parsing and saving, and includes comprehensive helper methods for reading and converting values to Go types.

Developers should choose this package when building Go applications that need robust INI file support with both reading and writing capabilities. It suits projects requiring configuration management with comment preservation, since the tool can read and write comments associated with both sections and keys. The package is particularly valuable for applications that need to maintain INI file structure and formatting when modifying configuration files programmatically, rather than simply parsing them into memory.

The project maintains steady activity with regular updates addressing bug fixes and feature enhancements. Development follows a structured approach to handling issues and pull requests, with clear documentation and examples provided through the project website. The codebase demonstrates attention to backward compatibility, as evidenced by guidance for users migrating between import paths.