{"id":72384,"library":"crgimenes-goconfig","title":"GoConfig","description":"Package goconfig uses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.","status":"active","version":"1.5.0","language":"go","source_language":null,"source_url":"https://github.com/crgimenes/goconfig","tags":["configuration","cli","environment","struct"],"install":[{"cmd":"go get github.com/crgimenes/goconfig","lang":"bash","label":"Install github.com/crgimenes/goconfig"}],"dependencies":[],"imports":[{"symbol":"goconfig","correct":"github.com/crgimenes/goconfig"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/crgimenes/goconfig\"\n)\n\ntype Config struct {\n\tName string `default:\"world\"`\n}\n\nfunc main() {\n\tcfg := &Config{}\n\tgoconfig.Parse(cfg)\n\tfmt.Printf(\"Hello, %s!\\n\", cfg.Name)\n}","lang":"go","description":"Parses command line, environment, and config file into a struct."},"warnings":[],"env_vars":null,"search_vec":"'cli':27 'command':19 'configur':24,26 'environ':21,28 'field':12 'file':25 'goconfig':1,3 'input':8 'line':20 'packag':2 'paramet':17 'popul':10 'struct':6,15,29 'use':4 'variabl':22","created_at":"2026-06-17T18:38:24.516182+00:00","updated_at":"2026-06-17T18:38:24.516182+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/crgimenes/goconfig","github":"https://github.com/crgimenes/goconfig","docs":"https://pkg.go.dev/github.com/crgimenes/goconfig#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-17","next_check":"2026-12-14","install_tag":null}}