# go-ini/ini

Package ini provides INI file read and write functionality in Go

Repository: https://github.com/go-ini/ini
Canonical: https://ross.abutalabs.com/products/ini
Homepage: https://ini.unknwon.io
Language: Go
License: Apache-2.0
License Family: permissive
Topics: go, ini, parser, configuration, lsif-enabled
Last push: 2026-06-10T02:52:00+00:00

## Health v2 (maintenance only)
Score: 85/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 86, release rhythm 75, longevity 100
- inputs: {"age_days": 4276, "days_push": 84, "days_rel": 86, "gap_med": 74.0, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3542, forks 389 (observed 2026-08-28T04:08:09.263047+00:00)

## What it is
A Go library for reading and writing INI configuration files. It supports multiple data sources, parent-child sections, comments, type conversion, and struct mapping.

## Use cases
- parse ini config files in go
- read my.cnf or gitconfig style files
- write ini files with comments preserved
- map ini configuration to go structs
- load config from file, bytes, or reader

## When to choose
- your Go app uses INI-format configuration
- you need to preserve comments and key order when saving
- you want automatic type conversion and struct mapping

## When to avoid
- you use YAML, TOML, or JSON instead of INI
- you need a non-Go language binding

## Facets
- artifact type: library
- maturity: stable
- function: parser, configuration-management, serialization
- domain: developer-tools, backend, files
- platform: go, cross-platform
- tags: ini, config-files, go-library, struct-mapping

## Member repositories
- go-ini/ini (main) score 85

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:09.263047+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:34:28.495577+00:00, confidence not recorded.
  - readme: https://github.com/go-ini/ini (fetched 2026-08-28T04:08:09.263047+00:00, sha 36e1f67446db)
  - homepage: https://ini.unknwon.io (fetched 2026-08-29T09:28:38.064818+00:00, sha 493fb302bb92)
  - site_page: https://ini.unknwon.io/docs (fetched 2026-08-29T09:28:38.073591+00:00, sha 52a3af639204)
  - site_page: https://ini.unknwon.io/docs/intro/getting_started (fetched 2026-08-29T09:28:38.075331+00:00, sha 8f516e6ae9f4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
