{"id":50844,"library":"caarlos0-env-v6","title":"env","description":"A simple and zero-dependencies library to parse environment variables into structs.","status":"active","version":"6.10.1","language":"go","source_language":null,"source_url":"https://github.com/caarlos0/env","tags":["env","configuration","struct","environment"],"install":[{"cmd":"go get github.com/caarlos0/env/v6","lang":"bash","label":"Install github.com/caarlos0/env/v6"}],"dependencies":[],"imports":[{"symbol":"env","correct":"github.com/caarlos0/env/v6"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"github.com/caarlos0/env/v6\"\n)\n\ntype Config struct {\n\tPort int `env:\"PORT\" envDefault:\"3000\"`\n}\n\nfunc main() {\n\tvar cfg Config\n\tenv.Parse(&cfg)\n\tfmt.Println(cfg.Port)\n}","lang":"go","description":"Parses environment variables into a struct."},"warnings":[],"env_vars":null,"search_vec":"'configur':16 'depend':7 'env':1,15 'environ':11,18 'librari':8 'pars':10 'simpl':3 'struct':14,17 'variabl':12 'zero':6 'zero-depend':5","created_at":"2026-06-15T05:11:37.712599+00:00","updated_at":"2026-06-15T05:11:37.712599+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/caarlos0/env","github":"https://github.com/caarlos0/env","docs":"https://pkg.go.dev/github.com/caarlos0/env/v6#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}}