{"id":22397007,"url":"https://github.com/atrox/env","last_synced_at":"2025-03-26T23:20:23.160Z","repository":{"id":32639073,"uuid":"118107036","full_name":"Atrox/env","owner":"Atrox","description":"a tiny .env wrapper","archived":false,"fork":false,"pushed_at":"2023-11-30T12:36:51.000Z","size":8,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T09:51:23.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/Atrox.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-19T09:45:13.000Z","updated_at":"2021-11-20T12:06:57.000Z","dependencies_parsed_at":"2024-06-21T02:11:30.936Z","dependency_job_id":null,"html_url":"https://github.com/Atrox/env","commit_stats":{"total_commits":7,"total_committers":3,"mean_commits":"2.3333333333333335","dds":0.4285714285714286,"last_synced_commit":"67b5cab34af0d1583a24673873ddf9dddd55f49d"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atrox%2Fenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atrox","download_url":"https://codeload.github.com/Atrox/env/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245750260,"owners_count":20666145,"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","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":[],"created_at":"2024-12-05T06:10:10.804Z","updated_at":"2025-03-26T23:20:23.139Z","avatar_url":"https://github.com/Atrox.png","language":"Go","readme":"# ENV - a tiny .env wrapper\n\n\u003e this is probably not much to use to anybody else but feel free to do whatever you want with it\n\n```go\nimport \"go.atrox.dev/env\"\n```\n\n### Notes:\n\n- `.env` file is automatically loaded, if there is no `.env` file this wrapper does not care - no error is thrown\n- `APP_ENV` must be set to the apps current environment (`development`/`staging`/`production`, ...)\n- get environment variables with `Get(key)` and `GetDefault(key, default)`\n- check if production with `IsProduction()` or development with `IsDevelopment()`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatrox%2Fenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatrox%2Fenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatrox%2Fenv/lists"}