Registry / config / heetch-confita

heetch-confita

JSON →
library0.11.0gogounverified

A Go library for loading configuration from multiple sources including environment variables, files, and remote stores.

go get github.com/heetch/confita
INSTALL
IMPORT
SIG · HEETCH-CONFITA
H
heetch-confita
configgov0.11.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

confita
github.com/heetch/confita

Load configuration from environment variables.

package main import ( "context" "github.com/heetch/confita" "github.com/heetch/confita/backend/env" ) func main() { cfg := struct { Port int `config:"port"` }{} loader := confita.NewLoader(env.NewBackend()) _ = loader.Load(context.Background(), &cfg) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.11.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
30
Resources
heetch-confita — go get heetch-confita · libregistry