fx
fx copied to clipboard
Support multiple `ResultTags` annotations
Closes #1210
This commit makes it possible to specify multiple fx.ResultTags
annotations in a single fx.Annotate
call.
fx.Provide(
fx.Annotate(
func() *bytes.Buffer {
return bytes.NewBuffer([]byte("Hello!"))
},
fx.ResultTags(`name:"a"`),
fx.ResultTags(`name:"b"`),
fx.ResultTags(`name:"c"`),
),
)