{"id":3492591,"name":"github.com/google/wire","ecosystem":"go","description":"Package wire contains directives for Wire code generation.\nFor an overview of working with Wire, see the user guide at\nhttps://github.com/google/wire/blob/master/docs/guide.md\n\nThe directives in this package are used as input to the Wire code generation\ntool. The entry point of Wire's analysis are injector functions: function\ntemplates denoted by only containing a call to Build. The arguments to Build\ndescribes a set of providers and the Wire code generation tool builds a\ndirected acylic graph of the providers' output types. The generated code will\nfill in the function template by using the providers from the provider set to\ninstantiate any needed types.","homepage":"https://github.com/google/wire","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/google/wire","keywords_array":[],"namespace":"github.com/google","versions_count":9,"first_release_published_at":"2018-11-28T21:06:48.000Z","latest_release_published_at":"2025-08-22T13:52:05.000Z","latest_release_number":"v0.7.0","last_synced_at":"2026-06-03T02:31:37.699Z","created_at":"2022-04-10T19:10:37.463Z","updated_at":"2026-06-03T02:31:37.699Z","registry_url":"https://pkg.go.dev/github.com/google/wire","install_command":"go get github.com/google/wire","documentation_url":"https://pkg.go.dev/github.com/google/wire#section-documentation","metadata":{},"repo_metadata":{"id":37318847,"uuid":"159540440","full_name":"google/wire","owner":"google","description":"Compile-time Dependency Injection for Go","archived":true,"fork":false,"pushed_at":"2025-08-22T13:56:56.000Z","size":495,"stargazers_count":14242,"open_issues_count":108,"forks_count":696,"subscribers_count":111,"default_branch":"main","last_synced_at":"2025-10-11T20:23:34.592Z","etag":null,"topics":["codegen","dependency-injection","go","golang","initialization"],"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/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-11-28T17:34:51.000Z","updated_at":"2025-10-11T09:50:57.000Z","dependencies_parsed_at":"2022-07-14T06:40:33.746Z","dependency_job_id":"fa932a52-58b3-4115-8826-b4fac239d5db","html_url":"https://github.com/google/wire","commit_stats":{"total_commits":198,"total_committers":37,"mean_commits":5.351351351351352,"dds":0.6262626262626263,"last_synced_commit":"e57deea2f8bbe2386b756f2555e02de33e20a3f0"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/google/wire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/wire/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/sbom","scorecard":{"id":438222,"data":{"date":"2025-08-11","repo":{"name":"github.com/google/wire","commit":"e57deea2f8bbe2386b756f2555e02de33e20a3f0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.2,"checks":[{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":7,"reason":"Found 21/30 approved changesets -- score normalized to 7","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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/tests.yml:1","Info: no jobLevel write permissions found"],"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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/google/wire/tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/tests.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/google/wire/tests.yml/main?enable=pin","Warn: goCommand not pinned by hash: internal/check_api_change.sh:43","Warn: downloadThenRun not pinned by hash: internal/runtests.sh:31","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 goCommand dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned"],"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":"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":"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: Apache License 2.0: 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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/google/.github/SECURITY.md:1","Info: Found linked content: github.com/google/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/google/.github/SECURITY.md:1","Info: Found text in security policy: github.com/google/.github/SECURITY.md:1"],"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":"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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"}}]},"last_synced_at":"2025-08-19T05:08:19.048Z","repository_id":37318847,"created_at":"2025-08-19T05:08:19.048Z","updated_at":"2025-08-19T05:08:19.048Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279012996,"owners_count":26085222,"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","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","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":"google","name":"Google","uuid":"1342004","kind":"organization","description":"Google ❤️ Open Source","email":"opensource@google.com","website":"https://opensource.google/","location":"United States of America","twitter":"GoogleOSS","company":null,"icon_url":"https://avatars.githubusercontent.com/u/1342004?v=4","repositories_count":2773,"last_synced_at":"2025-08-12T15:55:14.931Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/google","funding_links":[],"total_stars":1967885,"followers":58475,"following":0,"created_at":"2022-11-02T16:20:58.973Z","updated_at":"2025-08-12T15:55:14.931Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google/repositories"},"tags":[{"name":"v0.7.0","sha":"9c25c9016f6825302537c4efdd5e897976f9c826","kind":"commit","published_at":"2025-08-22T13:52:05.000Z","download_url":"https://codeload.github.com/google/wire/tar.gz/v0.7.0","html_url":"https://github.com/google/wire/releases/tag/v0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/google/wire@v0.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.7.0/manifests"},{"name":"v0.6.0","sha":"e57deea2f8bbe2386b756f2555e02de33e20a3f0","kind":"commit","published_at":"2024-02-07T17:25:46.000Z","download_url":"https://codeload.github.com/google/wire/tar.gz/v0.6.0","html_url":"https://github.com/google/wire/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/google/wire@v0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.6.0/manifests"},{"name":"v0.5.0","sha":"0ac845078ca01a1755571c53d7a8e7995b96e40d","kind":"commit","published_at":"2021-01-26T01:57:54.000Z","download_url":"https://codeload.github.com/google/wire/tar.gz/v0.5.0","html_url":"https://github.com/google/wire/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/google/wire@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.5.0/manifests"},{"name":"v0.4.0","sha":"578b29ef42c1970b9853962dd1c4308fd7eb5387","kind":"commit","published_at":"2019-12-11T18:11:01.000Z","download_url":"https://codeload.github.com/google/wire/tar.gz/v0.4.0","html_url":"https://github.com/google/wire/releases/tag/v0.4.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/google/wire@v0.4.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.4.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.4.0/manifests"},{"name":"v0.3.0","sha":"89cb901fdf9dfcf4292cbfe0c9ac90d98213be68","kind":"commit","published_at":"2019-06-18T00:27:07.000Z","download_url":"https://codeload.github.com/google/wire/tar.gz/v0.3.0","html_url":"https://github.com/google/wire/releases/tag/v0.3.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/google/wire@v0.3.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.3.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.3.0/manifests"},{"name":"v0.2.2","sha":"a7a9b0ede2c6019fbb86a3bcdafa1661d127d7e9","kind":"commit","published_at":"2019-05-10T17:53:44.000Z","download_url":"https://codeload.github.com/google/wire/tar.gz/v0.2.2","html_url":"https://github.com/google/wire/releases/tag/v0.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/google/wire@v0.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.2.2/manifests"},{"name":"v0.2.1","sha":"9a7ae3ba6b734d831e88c75966fd5e9c0abdeace","kind":"commit","published_at":"2019-01-07T22:57:50.000Z","download_url":"https://codeload.github.com/google/wire/tar.gz/v0.2.1","html_url":"https://github.com/google/wire/releases/tag/v0.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/google/wire@v0.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.2.1/manifests"},{"name":"v0.2.0","sha":"28f5930663cd2ab724e2735cc5713b490f207616","kind":"commit","published_at":"2018-12-03T17:19:00.000Z","download_url":"https://codeload.github.com/google/wire/tar.gz/v0.2.0","html_url":"https://github.com/google/wire/releases/tag/v0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/google/wire@v0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.2.0/manifests"},{"name":"v0.1.0","sha":"ba990f92ac7f068c4d5fe1930c21e72d9f8efccd","kind":"tag","published_at":"2018-11-28T22:30:28.000Z","download_url":"https://codeload.github.com/google/wire/tar.gz/v0.1.0","html_url":"https://github.com/google/wire/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/google/wire@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/tags/v0.1.0/manifests"}]},"repo_metadata_updated_at":"2025-10-13T07:27:34.154Z","dependent_packages_count":2415,"downloads":null,"downloads_period":null,"dependent_repos_count":7687,"rankings":{"downloads":null,"dependent_repos_count":0.08962790559193945,"dependent_packages_count":0.07433058837178025,"stargazers_count":0.6193873475786605,"forks_count":1.187441415895042,"docker_downloads_count":0.04311995458031451,"average":0.40278144240354735},"purl":"pkg:golang/github.com/google/wire","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/github.com/google/wire","docker_dependents_count":1299,"docker_downloads_count":7949906850,"usage_url":"https://repos.ecosyste.ms/usage/go/github.com/google/wire","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/github.com/google/wire/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-10-08T00:17:10.835Z","issues_count":83,"pull_requests_count":70,"avg_time_to_close_issue":9448513.17857143,"avg_time_to_close_pull_request":12995701.2,"issues_closed_count":28,"pull_requests_closed_count":40,"pull_request_authors_count":48,"issue_authors_count":71,"avg_comments_per_issue":2.5542168674698793,"avg_comments_per_pull_request":1.8571428571428572,"merged_pull_requests_count":18,"bot_issues_count":0,"bot_pull_requests_count":1,"past_year_issues_count":6,"past_year_pull_requests_count":7,"past_year_avg_time_to_close_issue":1224.0,"past_year_avg_time_to_close_pull_request":3633740.0,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":2,"past_year_pull_request_authors_count":5,"past_year_issue_authors_count":6,"past_year_avg_comments_per_issue":1.0,"past_year_avg_comments_per_pull_request":0.14285714285714285,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":1,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fwire/issues","maintainers":[{"login":"zombiezen","count":4,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/zombiezen"},{"login":"findleyr","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/findleyr"},{"login":"rsc","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/rsc"},{"login":"eliben","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/eliben"},{"login":"stytchiz","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/stytchiz"}],"active_maintainers":[{"login":"findleyr","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/findleyr"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgoogle%2Fwire/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgoogle%2Fwire/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgoogle%2Fwire/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgoogle%2Fwire/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgoogle%2Fwire/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/github.com%2Fgoogle%2Fwire/codemeta","maintainers":[]}