github.com/go-ini/ini

ini

Package ini provides INI file read and write functionality in Go.

41

Decision Signals

Health score 41/100, confidence 80/100.

Risk
Maintenance 15
Adoption 7
Security 92
Maturity 52
Developer DX 83
Confidence 80

Install

go get github.com/go-ini/ini

Package Data

updated Jun 11, 2026
Latest versionv1.67.0
Imported by0 packages
Stars0
Forks0
Last activity3 years ago
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

177 symbols
SymbolKindSynopsis
DebugFunc Type type DebugFunc func(message string)
ErrDelimiterNotFound Type type ErrDelimiterNotFound struct{ ... }
ErrDelimiterNotFound.Error Method func (err ErrDelimiterNotFound) Error() string
ErrDelimiterNotFound.Line Field Line string
ErrEmptyKeyName Type type ErrEmptyKeyName struct{ ... }
ErrEmptyKeyName.Error Method func (err ErrEmptyKeyName) Error() string
ErrEmptyKeyName.Line Field Line string
File Type type File struct{ ... }
Empty Function func Empty(opts ...LoadOptions) *File
File.Append Method func (f *File) Append(source interface{}, others ...interface{}) error
File.BlockMode Field BlockMode bool
File.ChildSections Method func (f *File) ChildSections(name string) []*Section

Maintained Alternatives

limited recent repository activity

#1 v2

Package config is a go config management implement.

Go Configuration Libraries 583 stars 215 imported-by 95% confidence
96

#2 env

A simple, zero-dependencies library to parse environment variables into structs

Go Configuration Libraries 6.2K stars 1.4K imported-by 100% confidence
95

#3 Koanf

Simple, extremely lightweight, extensible, configuration management library for Go. Supports JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.

Go Configuration Libraries 4.1K stars 540 imported-by 100% confidence
95

#4 xdg

Package xdg provides an implementation of the XDG Base Directory Specification.

Go Configuration Libraries 1.0K stars 1.2K imported-by 100% confidence
93

#5 Viper

Go configuration with fangs.

Go Configuration Libraries 30.3K stars 0 imported-by 80% confidence
85

#6 cue

The home of the CUE language! Validate and define text-based and dynamic configuration

Go Configuration Libraries 6.1K stars 0 imported-by 40% confidence
83

Similar Packages

Go Configuration Libraries

#1 v2

Package config is a go config management implement.

Go Configuration Libraries 583 stars 215 imported-by 95% confidence
96

#2 env

A simple, zero-dependencies library to parse environment variables into structs

Go Configuration Libraries 6.2K stars 1.4K imported-by 100% confidence
95

#3 Koanf

Simple, extremely lightweight, extensible, configuration management library for Go. Supports JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.

Go Configuration Libraries 4.1K stars 540 imported-by 100% confidence
95

#4 xdg

Package xdg provides an implementation of the XDG Base Directory Specification.

Go Configuration Libraries 1.0K stars 1.2K imported-by 100% confidence
93

#5 Viper

Go configuration with fangs.

Go Configuration Libraries 30.3K stars 0 imported-by 80% confidence
85