{"id":51303,"library":"gcfg-v1","title":"gcfg","description":"Package gcfg reads INI-style text-based configuration files with name=value pairs grouped into sections.","status":"active","version":"1.2.3","language":"go","source_language":null,"source_url":null,"tags":["config","ini","configuration","parsing"],"install":[{"cmd":"go get gopkg.in/gcfg.v1","lang":"bash","label":"Install gopkg.in/gcfg.v1"}],"dependencies":[],"imports":[{"symbol":"gcfg","correct":"gopkg.in/gcfg.v1"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"gopkg.in/gcfg.v1\"\n)\n\ntype Config struct {\n\tSection struct {\n\t\tKey string\n\t}\n}\n\nfunc main() {\n\tvar cfg Config\n\terr := gcfg.ReadFileInto(&cfg, \"config.ini\")\n\tif err != nil {\n\t\tpanic(err)\n\t}\n\tfmt.Println(cfg.Section.Key)\n}","lang":"go","description":"Read an INI-style config file into a struct."},"warnings":[],"env_vars":null,"search_vec":"'base':10 'config':20 'configur':11,22 'file':12 'gcfg':1,3 'group':17 'ini':6,21 'ini-styl':5 'name':14 'packag':2 'pair':16 'pars':23 'read':4 'section':19 'style':7 'text':9 'text-bas':8 'valu':15","created_at":"2026-06-15T06:08:20.723276+00:00","updated_at":"2026-06-15T06:08:20.723276+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/go-gcfg/gcfg","github":null,"docs":"https://pkg.go.dev/gopkg.in/gcfg.v1#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["config"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}