We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package main import ( "fmt" "github.com/samber/do/v2" // v2.0.0-beta.6 ) func main() { i := do.New() do.ProvideNamedValue(i, "NAME", 1) fmt.Println(do.InvokeNamed[any](i, "NAME")) // DI: could not find service `NAME`, available services: `NAME` }
do/invoke.go
Lines 84 to 87 in 6a1325b
The text was updated successfully, but these errors were encountered:
fix(error handling): add a TypeMismatch error when we invoke a servic…
1998a7a
…e from an unexecpted type Fixes #80
Fixed in 1998a7a
Sorry, something went wrong.
No branches or pull requests
do/invoke.go
Lines 84 to 87 in 6a1325b
The text was updated successfully, but these errors were encountered: