{"id":34122894,"url":"https://github.com/l-vitaly/goenv","last_synced_at":"2025-12-14T22:02:26.531Z","repository":{"id":57486207,"uuid":"98976283","full_name":"l-vitaly/goenv","owner":"l-vitaly","description":"Library for loading settings from environment variables","archived":false,"fork":false,"pushed_at":"2019-04-22T13:22:34.000Z","size":18,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-15T09:21:59.146Z","etag":null,"topics":["code","config","configuration","env","environment","environment-variables","generator","golang","settings"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/l-vitaly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-01T08:07:38.000Z","updated_at":"2019-04-22T13:22:34.000Z","dependencies_parsed_at":"2022-09-11T21:44:01.033Z","dependency_job_id":null,"html_url":"https://github.com/l-vitaly/goenv","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/l-vitaly/goenv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-vitaly%2Fgoenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-vitaly%2Fgoenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-vitaly%2Fgoenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-vitaly%2Fgoenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/l-vitaly","download_url":"https://codeload.github.com/l-vitaly/goenv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/l-vitaly%2Fgoenv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27737690,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-14T02:00:11.348Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code","config","configuration","env","environment","environment-variables","generator","golang","settings"],"created_at":"2025-12-14T22:02:25.968Z","updated_at":"2025-12-14T22:02:26.525Z","avatar_url":"https://github.com/l-vitaly.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Env\n\n### Example\n\n[See](example/README.md)\n\n#### Generate from env file\n\nInstall:\n\ngo get -u github.com/l-vitaly/goenv/cmd/envgen\n\nTo generate a config based on the environment variable file, run the following command:\n\n`envgen \u003cenv_file\u003e \u003cprefix\u003e`\n\n-   env_file - environment variable file\n-   prefix - this value will be removed from the field names of the structure and constants\n\nYou can also group the fields in the structure by separating them with `__` characters. For example, if the name of the environment variable is `DB__CONN_SRT`, then the result will be like this:\n\n```golang\ntype Config {\n  Db {\n    ConnSrt string\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl-vitaly%2Fgoenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fl-vitaly%2Fgoenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fl-vitaly%2Fgoenv/lists"}