Coderockr / backstage

Coderockr's recommended tools and components for development
8 stars 1 forks source link

Google Wire (Golang DI) #184

Open lucassabreu opened 2 years ago

lucassabreu commented 2 years ago

Wire is a code generation tool that automates connecting components using dependency injection. Dependencies between components are represented in Wire as function parameters, encouraging explicit initialization instead of global variables. Because Wire operates without runtime state or reflection, code written to be used with Wire is useful even for hand-written initialization.


https://github.com/google/wire