{"id":38836699,"url":"https://github.com/rocketbitz/env","last_synced_at":"2026-01-17T13:56:34.289Z","repository":{"id":57501929,"uuid":"222297546","full_name":"rocketbitz/env","owner":"rocketbitz","description":"an easier to use environment variable package","archived":false,"fork":false,"pushed_at":"2019-11-17T20:15:40.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-14T17:03:00.421Z","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/rocketbitz.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":"2019-11-17T19:04:34.000Z","updated_at":"2019-11-17T20:13:20.000Z","dependencies_parsed_at":"2022-09-08T21:52:36.373Z","dependency_job_id":null,"html_url":"https://github.com/rocketbitz/env","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rocketbitz/env","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketbitz%2Fenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketbitz%2Fenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketbitz%2Fenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketbitz%2Fenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rocketbitz","download_url":"https://codeload.github.com/rocketbitz/env/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketbitz%2Fenv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28509611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-17T13:56:34.213Z","updated_at":"2026-01-17T13:56:34.278Z","avatar_url":"https://github.com/rocketbitz.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# env [![CircleCI](https://circleci.com/gh/rocketbitz/env/tree/master.svg?style=svg)](https://circleci.com/gh/rocketbitz/env/tree/master)\nan easier to use environment variable package for gophers\n\n# installation\n\nas with all other go packages, you know what to do:\n```\ngo get github.com/rocketbitz/env\n```\n\n# usage\n\ngo should probably have its own, but it doesn't, so here you are:\n\n```go\npackage main\n\nimport (\n\t\"fmt\"\n\n\t\"github.com/rocketbitz/env\"\n)\n\nfunc main() {\n    env.SetDefault(\"DEFAULT_ENV\", \"default_value\")\n    env.Get(\"DEFAULT_ENV\")  // \"default_value\"\n\n    env.Set(\"DEFAULT_ENV\", \"explicit_value\")\n    env.Get(\"DEFAULT_ENV\")  // \"explicit_value\"\n\n    env.Count() // 1\n\n    env.JSON()\n    /*\n    [\n        {\n            \"key\": \"DEFAULT_ENV\",\n            \"value\": \"explicit_value\",\n        }\n    ]\n    */\n}\n```\n\n# contribute\n\npr's are welcome. if they're awesome, they'll get reviewed and merged. if they're not, they'll get reviewed and closed, hopefully with a kind comment as to the reason.\n\n# license\n\n[MIT](https://github.com/rocketbitz/env/blob/master/LICENSE) ...move along, move along.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocketbitz%2Fenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocketbitz%2Fenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocketbitz%2Fenv/lists"}