{"id":3588283,"name":"github.com/pteich/configstruct","ecosystem":"go","description":"Package configstruct provides a parse function to fill a config struct with values from cli flags or environment","homepage":"https://github.com/pteich/configstruct","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/pteich/configstruct","keywords_array":[],"namespace":"github.com/pteich","versions_count":12,"first_release_published_at":"2019-12-02T19:21:15.000Z","latest_release_published_at":"2026-03-25T21:09:46.000Z","latest_release_number":"v1.8.0","last_synced_at":"2026-07-20T16:31:04.213Z","created_at":"2022-04-11T04:55:18.054Z","updated_at":"2026-09-01T04:19:57.169Z","registry_url":"https://pkg.go.dev/github.com/pteich/configstruct","install_command":"go get github.com/pteich/configstruct","documentation_url":"https://pkg.go.dev/github.com/pteich/configstruct#section-documentation","metadata":{},"repo_metadata":{"id":54485121,"uuid":"225390221","full_name":"pteich/configstruct","owner":"pteich","description":"Simple Go module to parse a configuration from environment and cli flags using struct tags. Also supports commands and sub-commands.","archived":false,"fork":false,"pushed_at":"2026-03-25T21:10:07.000Z","size":54,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-26T20:38:49.398Z","etag":null,"topics":["cli","cli-flags","commandline","config","configuration","environment","go","golang"],"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/pteich.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":"2019-12-02T14:11:46.000Z","updated_at":"2026-03-25T21:09:55.000Z","dependencies_parsed_at":"2024-06-20T00:22:20.970Z","dependency_job_id":null,"html_url":"https://github.com/pteich/configstruct","commit_stats":{"total_commits":25,"total_committers":4,"mean_commits":6.25,"dds":0.24,"last_synced_commit":"59b68acd995afaa28a438a6548d5963b1ff7691e"},"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/pteich/configstruct","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pteich","download_url":"https://codeload.github.com/pteich/configstruct/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/sbom","scorecard":{"id":748695,"data":{"date":"2025-08-11","repo":{"name":"github.com/pteich/configstruct","commit":"3af6da2cda30de3b4d20b51c0f705ec3b353dac1"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 1/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T19:37:48.315Z","repository_id":54485121,"created_at":"2025-08-22T19:37:48.315Z","updated_at":"2025-08-22T19:37:48.315Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":37010949,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-01T02:00:05.433Z","response_time":53,"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"},"owner_record":{"login":"pteich","name":"Peter","uuid":"7067763","kind":"user","description":"Freelance Developer and DevOps Engineer / \r\nCo-Founder @QuantumCast \r\n\r\nCurrently working with Go and Odin","email":"","website":null,"location":"Leipzig, Germany","twitter":null,"company":"@QuantumCast","icon_url":"https://avatars.githubusercontent.com/u/7067763?u=94b423446e9e8b576c88658f76f97ee476242e6c\u0026v=4","repositories_count":90,"last_synced_at":"2026-08-31T22:55:32.643Z","metadata":{"has_sponsors_listing":true,"funding":null},"html_url":"https://github.com/pteich","funding_links":["https://github.com/sponsors/pteich"],"total_stars":390,"followers":62,"following":86,"created_at":"2022-11-08T04:09:12.853Z","updated_at":"2026-08-31T22:55:32.657Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pteich","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pteich/repositories"},"tags":[{"name":"v1.6.0","sha":"3af6da2cda30de3b4d20b51c0f705ec3b353dac1","kind":"tag","published_at":"2024-04-28T07:32:36.000Z","download_url":"https://codeload.github.com/pteich/configstruct/tar.gz/v1.6.0","html_url":"https://github.com/pteich/configstruct/releases/tag/v1.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pteich/configstruct@v1.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.6.0/manifests"},{"name":"v1.5.1","sha":"e96ddf7588cf95b9c2456b29aabfade46ee83443","kind":"tag","published_at":"2022-07-21T11:32:41.000Z","download_url":"https://codeload.github.com/pteich/configstruct/tar.gz/v1.5.1","html_url":"https://github.com/pteich/configstruct/releases/tag/v1.5.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pteich/configstruct@v1.5.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.5.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.5.1/manifests"},{"name":"v1.5.0","sha":"ec721841790db8ff048b4e2e3ff704aff3d32665","kind":"tag","published_at":"2021-12-18T16:53:28.000Z","download_url":"https://codeload.github.com/pteich/configstruct/tar.gz/v1.5.0","html_url":"https://github.com/pteich/configstruct/releases/tag/v1.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pteich/configstruct@v1.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.5.0/manifests"},{"name":"v1.4.2","sha":"c9bb6369b800ef8de9d52f8e3c59ba9cb25b8681","kind":"tag","published_at":"2020-12-31T15:37:36.000Z","download_url":"https://codeload.github.com/pteich/configstruct/tar.gz/v1.4.2","html_url":"https://github.com/pteich/configstruct/releases/tag/v1.4.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pteich/configstruct@v1.4.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.4.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.4.2/manifests"},{"name":"v1.4.1","sha":"cbeb6c8a827f64def49c03ecd9d9c8f806913eca","kind":"tag","published_at":"2020-12-27T09:45:24.000Z","download_url":"https://codeload.github.com/pteich/configstruct/tar.gz/v1.4.1","html_url":"https://github.com/pteich/configstruct/releases/tag/v1.4.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pteich/configstruct@v1.4.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.4.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.4.1/manifests"},{"name":"v1.4.0","sha":"4d8e8f370e7b105409ec5c8452b78696d955c5ce","kind":"tag","published_at":"2020-12-14T09:33:45.000Z","download_url":"https://codeload.github.com/pteich/configstruct/tar.gz/v1.4.0","html_url":"https://github.com/pteich/configstruct/releases/tag/v1.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pteich/configstruct@v1.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.4.0/manifests"},{"name":"v1.3.0","sha":"ec6141f153cc409c2c3713016ce26500c05357a5","kind":"tag","published_at":"2020-11-28T18:56:08.000Z","download_url":"https://codeload.github.com/pteich/configstruct/tar.gz/v1.3.0","html_url":"https://github.com/pteich/configstruct/releases/tag/v1.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pteich/configstruct@v1.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.3.0/manifests"},{"name":"v1.2.0","sha":"1e46d91d86ab68527b27eae1bc7745273c3c516c","kind":"commit","published_at":"2020-05-18T15:27:17.000Z","download_url":"https://codeload.github.com/pteich/configstruct/tar.gz/v1.2.0","html_url":"https://github.com/pteich/configstruct/releases/tag/v1.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pteich/configstruct@v1.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.2.0/manifests"},{"name":"v1.1.0","sha":"c0f63effca07ed0b0dd070791db73cdffd1833d5","kind":"commit","published_at":"2020-01-15T14:53:45.000Z","download_url":"https://codeload.github.com/pteich/configstruct/tar.gz/v1.1.0","html_url":"https://github.com/pteich/configstruct/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pteich/configstruct@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.1.0/manifests"},{"name":"v1.0.0","sha":"86338f16d0018ff65f25b3dfecf497c30a6a560e","kind":"commit","published_at":"2019-12-02T19:21:15.000Z","download_url":"https://codeload.github.com/pteich/configstruct/tar.gz/v1.0.0","html_url":"https://github.com/pteich/configstruct/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/pteich/configstruct@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2026-09-01T04:19:57.169Z","dependent_packages_count":20,"downloads":null,"downloads_period":null,"dependent_repos_count":2,"rankings":{"downloads":null,"dependent_repos_count":3.5071256876766337,"dependent_packages_count":1.1174409736406279,"stargazers_count":14.481857934273624,"forks_count":13.273290488690423,"docker_downloads_count":null,"average":8.094928771070327},"purl":"pkg:golang/github.com/pteich/configstruct","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/pteich/configstruct","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/pteich/configstruct","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/pteich/configstruct/dependencies","status":null,"funding_links":["https://github.com/sponsors/pteich"],"critical":null,"issue_metadata":{"last_synced_at":"2025-01-15T15:08:42.161Z","issues_count":0,"pull_requests_count":1,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":820.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":1,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/pteich%2Fconfigstruct/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpteich%2Fconfigstruct/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpteich%2Fconfigstruct/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpteich%2Fconfigstruct/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpteich%2Fconfigstruct/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpteich%2Fconfigstruct/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fpteich%2Fconfigstruct/codemeta","maintainers":[]}