Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/aaryanporwal/go-wire
- Owner: aaryanporwal
- Created: 2023-02-23T10:54:48.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-23T11:22:21.000Z (almost 2 years ago)
- Last Synced: 2024-10-12T08:11:00.280Z (3 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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.”