Registry / config / gcfg-v1

gcfg-v1

JSON →
library1.2.3gogounverified

Package gcfg reads INI-style text-based configuration files with name=value pairs grouped into sections.

go get gopkg.in/gcfg.v1
INSTALL
IMPORT
SIG · GCFG-V1
G
gcfg-v1
configgov1.2.3
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.

gcfg
✓ gopkg.in/gcfg.v1

Read an INI-style config file into a struct.

package main import ( "fmt" "gopkg.in/gcfg.v1" ) type Config struct { Section struct { Key string } } func main() { var cfg Config err := gcfg.ReadFileInto(&cfg, "config.ini") if err != nil { panic(err) } fmt.Println(cfg.Section.Key) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
34
Resources
gcfg-v1 — go get gcfg-v1 · libregistry