github.com/jinzhu/configor

configor

Golang Configuration tool that support YAML, JSON, TOML, Shell Environment

74

Decision Signals

Health score 74/100, confidence 95/100.

Strong
Maintenance 27
Adoption 100
Security 92
Maturity 100
Developer DX 77
Confidence 95

Install

go get github.com/jinzhu/configor

Package Data

updated Jun 11, 2026
Latest versionv1.2.2
Imported by870 packages
Stars1.8K
Forks211
Last activity2 years ago
Latest releaseUnknown
LicenseMIT
Known vuln records0

API Surface

22 symbols
SymbolKindSynopsis
Config Type type Config struct{ ... }
Config.AutoReload Field AutoReload bool
Config.AutoReloadCallback Field AutoReloadCallback func(config interface{})
Config.AutoReloadInterval Field AutoReloadInterval time.Duration
Config.Debug Field Debug bool
Config.ENVPrefix Field ENVPrefix string
Config.Environment Field Environment string
Config.ErrorOnUnmatchedKeys Field ErrorOnUnmatchedKeys bool
Config.FS Field FS fs.FS
Config.Silent Field Silent bool
Config.Verbose Field Verbose bool
Configor Type type Configor struct{ ... }

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