{"id":15355389,"url":"https://github.com/bmf-san/goemon","last_synced_at":"2025-03-27T14:47:16.791Z","repository":{"id":56550875,"uuid":"212010263","full_name":"bmf-san/goemon","owner":"bmf-san","description":"A dotenv built with golang.","archived":false,"fork":false,"pushed_at":"2020-11-01T05:06:14.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T18:45:23.322Z","etag":null,"topics":["dotenv","golang"],"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/bmf-san.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-01T04:09:42.000Z","updated_at":"2020-11-01T05:05:40.000Z","dependencies_parsed_at":"2022-08-15T20:50:16.616Z","dependency_job_id":null,"html_url":"https://github.com/bmf-san/goemon","commit_stats":null,"previous_names":["bmf-san/go-dotenv"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmf-san%2Fgoemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmf-san%2Fgoemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmf-san%2Fgoemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bmf-san%2Fgoemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bmf-san","download_url":"https://codeload.github.com/bmf-san/goemon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245865105,"owners_count":20685168,"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":["dotenv","golang"],"created_at":"2024-10-01T12:24:14.588Z","updated_at":"2025-03-27T14:47:16.771Z","avatar_url":"https://github.com/bmf-san.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# goemon\n[![CircleCI](https://circleci.com/gh/bmf-san/goemon/tree/master.svg?style=svg)](https://circleci.com/gh/bmf-san/goemon/tree/master)\n\nA dotenv built with golang.\n\n# Installation\n`go get github.com/bmf-san/goemon`\n\n# Get Started\nAdd a .env file in your project.\n\n```\nFOO=foo\nBAR=bar\n```\n\nThen you can load env file like this. \n\n```golang\npackage main\n\nimport (\n\t\"fmt\"\n\t\"os\"\n\n\t\"github.com/bmf-san/goemon\"\n)\n\nfunc main() {\n\tif err := dotenv.LoadEnv(); err != nil {\n\t\tfmt.Printf(\"%s\", err)\n\t}\n\n\tfmt.Println(os.Getenv(\"FOO\")) // foo\n\tfmt.Println(os.Getenv(\"BAR\")) // bar\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmf-san%2Fgoemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbmf-san%2Fgoemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbmf-san%2Fgoemon/lists"}