Registry / config / unknwon-goconfig

unknwon-goconfig

JSON →
library1.0.0gogounverified

Package goconfig is a fully functional and comments-support configuration file (.ini) parser.

go get github.com/Unknwon/goconfig
INSTALL
IMPORT
SIG · UNKNWON-GOCONFIG
U
unknwon-goconfig
configgov1.0.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.

goconfig
github.com/Unknwon/goconfig

Loads an INI configuration file and reads a value.

package main import ( "fmt" "github.com/Unknwon/goconfig" ) func main() { cfg, err := goconfig.LoadConfigFile("config.ini") if err != nil { panic(err) } value, err := cfg.GetValue("section", "key") if err != nil { panic(err) } fmt.Println(value) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
30
Amazon
1
Resources
unknwon-goconfig — go get unknwon-goconfig · libregistry