[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-4911":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":14,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},4911,"wire","google\u002Fwire","google","Compile-time Dependency Injection for Go","",null,"Go",14399,742,3,86,0,5,19,73.01,"Apache License 2.0",true,false,"main",[25,26,27,28,29],"codegen","dependency-injection","go","golang","initialization","2026-06-12 04:00:23","# Wire: Automated Initialization in Go\n\n[![Build Status](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fwire\u002Factions\u002Fworkflows\u002Ftests.yml\u002Fbadge.svg?branch=main)](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fwire\u002Factions)\n[![godoc](https:\u002F\u002Fgodoc.org\u002Fgithub.com\u002Fgoogle\u002Fwire?status.svg)][godoc]\n\n> [!WARNING]\n> This project is no longer maintained.\n>\n> If you wish to update or extend wire, please do so in a fork.\n\nWire is a code generation tool that automates connecting components using\n[dependency injection][]. Dependencies between components are represented in\nWire as function parameters, encouraging explicit initialization instead of\nglobal variables. Because Wire operates without runtime state or reflection,\ncode written to be used with Wire is useful even for hand-written\ninitialization.\n\nFor an overview, see the [introductory blog post][].\n\n[dependency injection]: https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FDependency_injection\n[introductory blog post]: https:\u002F\u002Fblog.golang.org\u002Fwire\n[godoc]: https:\u002F\u002Fgodoc.org\u002Fgithub.com\u002Fgoogle\u002Fwire\n[travis]: https:\u002F\u002Ftravis-ci.com\u002Fgoogle\u002Fwire\n\n## Installing\n\nInstall Wire by running:\n\n```shell\ngo install github.com\u002Fgoogle\u002Fwire\u002Fcmd\u002Fwire@latest\n```\n\nand ensuring that `$GOPATH\u002Fbin` is added to your `$PATH`.\n\n## Documentation\n\n- [Tutorial][]\n- [User Guide][]\n- [Best Practices][]\n- [FAQ][]\n\n[Tutorial]: .\u002F_tutorial\u002FREADME.md\n[Best Practices]: .\u002Fdocs\u002Fbest-practices.md\n[FAQ]: .\u002Fdocs\u002Ffaq.md\n[User Guide]: .\u002Fdocs\u002Fguide.md\n\n## Project status\n\nAs of version v0.3.0, Wire is *beta* and is considered feature complete. It\nworks well for the tasks it was designed to perform, and we prefer to keep it\nas simple as possible.\n\nWe'll not be accepting new features at this time, but will gladly accept bug\nreports and fixes.\n\n## Community\n\nFor questions, please use [GitHub Discussions](https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fwire\u002Fdiscussions).\n\nThis project is covered by the Go [Code of Conduct][].\n\n[Code of Conduct]: .\u002FCODE_OF_CONDUCT.md\n[go-cloud mailing list]: https:\u002F\u002Fgroups.google.com\u002Fforum\u002F#!forum\u002Fgo-cloud\n","Wire 是一个用于 Go 语言的编译时依赖注入工具。它通过自动化组件之间的连接，鼓励使用显式的初始化方式而非全局变量来表示组件间的依赖关系。Wire 不依赖于运行时状态或反射机制，因此即使不使用 Wire 生成的代码也适用于手动初始化。这种设计使得 Wire 特别适合需要清晰定义和管理复杂依赖关系的应用场景，尤其是在追求高性能和可维护性的 Go 项目中。尽管该项目已不再积极维护，但其提供的功能对于希望简化初始化过程并提高代码质量的开发者来说仍然是一个有价值的资源。",2,"2026-06-11 03:01:28","top_language"]