Skip to content
#

dependency-injection

Here are 3,583 public repositories matching this topic...

rogpeppe
rogpeppe commented May 25, 2019

One of the specific advantages of the wire approach is that it generates code that's relatively readable compared to reflect-based equivalents. When wire.Value is used on a small by-value type, there's no need for the value to live in a global variable - the expression could instead be used literally inside the generated code, which would make the code easier to follow, and more similar to the c

loopback-next
tsed

Improve this page

Add a description, image, and links to the dependency-injection topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the dependency-injection topic, visit your repo's landing page and select "manage topics."

Learn more