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

### Is your feature request related to a problem? Please describe. Currently, wire generate wire_gen file with following codes, ```golang // Code generated by Wire. DO NOT EDIT. //go:generate go...

### Describe the bug Wire doesn't support generics when I pass a generic function in wire.NewSet ### To Reproduce Pass generic function in wire.NewSet, like this: ```go wire.NewSet( db.New[config.DBConfigDefault, config.DBInstanceDefault],...

Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20210216224549-f992740a1bac to 0.1.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/sys&package-manager=go_modules&previous-version=0.0.0-20210216224549-f992740a1bac&new-version=0.1.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

### Describe the bug I am trying to build a module system to allow some packages to provide their ProviderSets, along with other package settings. This means having a structure...

You can use `go bug` to have a cool, automatically filled out bug template, or fill out the template below. ### Describe the bug Running wire ./... in a project...

Fixes #403 ## Problem After trying to run `wire ./...` on a module inside of a go workspace subsequent calls to `go generate ./...` fail ``` go: -mod may only...

### Is your feature request related to a problem? Please describe. Cleanup function has bad signature without returning error now. Basic usage of this functions to close connection or other...

### Describe the bug **got panic error when build code with more than 1 generic type parameters** ```sh panic: unhandled AST node: *ast.IndexListExpr [recovered] panic: unhandled AST node: *ast.IndexListExpr goroutine...

--- name: zhanjunjie about: Suggest an idea for this project --- ### Is your feature request related to a problem? Please describe. There is an interface definition, and several implementation...

You can use `go bug` to have a cool, automatically filled out bug template, or fill out the template below. ### Describe the bug The alias defined using the `type`...