Skip to content

Commit

Permalink
doc(Soft value groups): Fix missing return (uber-go#935)
Browse files Browse the repository at this point in the history
The code sample included a `func(string,int)`
as an example, but did not include the `int` return.
  • Loading branch information
abhinav authored and sywhang committed Oct 11, 2022
1 parent b717600 commit 11939cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inout.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ import "go.uber.org/dig"
// app := fx.New(
// fx.Provide(
// fx.Annotate(
// func() (string,int) { return "hello" },
// func() (string, int) { return "hello", 42 },
// fx.ResultTags(`group:"strings"`),
// ),
// ),
Expand Down

0 comments on commit 11939cd

Please sign in to comment.