Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aaryanporwal/go-wire

Trying out Wire for Compile-time Dependency Injection
https://github.com/aaryanporwal/go-wire

Last synced: about 2 months ago
JSON representation

Trying out Wire for Compile-time Dependency Injection

Awesome Lists containing this project

README

        

# What is Wire?
Wire is a code dependency tool that operates without runtime state or reflection. Code written to be used with Wire is useful even for handwritten initialization.

Wire can generate source code at compile time as well as implement dependency injection. According to the official documentation, “In Wire, dependencies between components are represented as function parameters, encouraging explicit initialization instead of global variables.”