wire icon indicating copy to clipboard operation
wire copied to clipboard

Compile-time Dependency Injection for Go

Results 121 wire issues
Sort by recently updated
recently updated
newest added

You can use `go bug` to have a cool, automatically filled out bug template, or fill out the template below. ### Describe the bug cannot use (*sql.DB)(db) (value of type...

If someone wants to "override" a set of providers from a larger set, it would be helpful to have the gowire tool output the minimal code to create a new...

enhancement

### Is your feature request related to a problem? Please describe. I have several controllers that I want to create. These controllers all implement the `type XX interface` but are...

enhancement
needs info

This PR explores the idea of allowing wire to be used as a library in addition to its current use as a CLI-only tool. Currently, all logic to generate the...

You can use `go bug` to have a cool, automatically filled out bug template, or fill out the template below. ### Describe the bug Some Providers rely on locally-defined non-exported...

### Is your feature request related to a problem? Please describe. When I used wire to build the code with go generics in golang:1.18, but It didn't work and throw...

Fixes #362 Added some details on how to run the generated code. I was having a bad time following the tutorial since I kept getting the error: ``` # command-line-arguments...

Let's imagine, we have an application with a lot of business logic and big amount of abstraction layers. This application could make calls to external (for example http) services. When...

needs info

https://github.com/google/wire/blob/79660af94317b9c466adc39f27f469f1079c779b/_tutorial/README.md?plain=1#L115 I think this step is a missing example of how to `run` or `build` the generated code. Also, it's not obvious that we need also to include the generated...