{"id":18344109,"url":"https://github.com/b0ch3nski/go-envconfig-extra","last_synced_at":"2025-04-09T22:24:24.397Z","repository":{"id":241784337,"uuid":"807643603","full_name":"b0ch3nski/go-envconfig-extra","owner":"b0ch3nski","description":"Extra tools extending usage of go-envconfig library.","archived":false,"fork":false,"pushed_at":"2024-06-24T15:46:12.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T14:16:32.294Z","etag":null,"topics":["configuration","configuration-management","envconfig","envs","golang"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/b0ch3nski.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":"2024-05-29T13:50:14.000Z","updated_at":"2024-06-24T15:32:25.000Z","dependencies_parsed_at":"2024-05-30T03:49:14.501Z","dependency_job_id":"68bada68-c867-40b3-96bd-0ab0a6d1ce0d","html_url":"https://github.com/b0ch3nski/go-envconfig-extra","commit_stats":null,"previous_names":["b0ch3nski/go-envconfig-extra"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0ch3nski%2Fgo-envconfig-extra","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0ch3nski%2Fgo-envconfig-extra/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0ch3nski%2Fgo-envconfig-extra/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/b0ch3nski%2Fgo-envconfig-extra/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/b0ch3nski","download_url":"https://codeload.github.com/b0ch3nski/go-envconfig-extra/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248121115,"owners_count":21051077,"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":["configuration","configuration-management","envconfig","envs","golang"],"created_at":"2024-11-05T21:04:53.108Z","updated_at":"2025-04-09T22:24:24.372Z","avatar_url":"https://github.com/b0ch3nski.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-envconfig-extra\n[![license](https://img.shields.io/github/license/b0ch3nski/go-envconfig-extra)](LICENSE)\n[![release](https://img.shields.io/github/v/release/b0ch3nski/go-envconfig-extra)](https://github.com/b0ch3nski/go-envconfig-extra/releases)\n[![go.dev](https://pkg.go.dev/badge/github.com/b0ch3nski/go-envconfig-extra)](https://pkg.go.dev/github.com/b0ch3nski/go-envconfig-extra)\n[![goreportcard](https://goreportcard.com/badge/github.com/b0ch3nski/go-envconfig-extra)](https://goreportcard.com/report/github.com/b0ch3nski/go-envconfig-extra)\n[![issues](https://img.shields.io/github/issues/b0ch3nski/go-envconfig-extra)](https://github.com/b0ch3nski/go-envconfig-extra/issues)\n[![sourcegraph](https://sourcegraph.com/github.com/b0ch3nski/go-envconfig-extra/-/badge.svg)](https://sourcegraph.com/github.com/b0ch3nski/go-envconfig-extra)\n\nExtra tools extending usage of [go-envconfig](https://github.com/sethvargo/go-envconfig) library.\n\n## install\n\n```\ngo get github.com/b0ch3nski/go-envconfig-extra\n```\n\n## example\n\n```go\nimport \"github.com/b0ch3nski/go-envconfig-extra/envconfigext\"\n\ntype Config struct {\n\tPassword1 string `env:\"PASS1,required\" secret:\"redact\"`\n\tPassword2 string `env:\"PASS2,required\" secret:\"mask=4\"`\n\n\tArbitraryFile envconfigext.FileContent `env:\"FILE\"`\n\tCertificate   envconfigext.X509Cert    `env:\"CERT\"`\n}\n\nfunc (c Config) String() string {\n\treturn envconfigext.StructFieldScan(c)\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb0ch3nski%2Fgo-envconfig-extra","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb0ch3nski%2Fgo-envconfig-extra","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb0ch3nski%2Fgo-envconfig-extra/lists"}