apawelec opened this issue 3 years ago · 1 comments
Docs shows fx.As(io.Writer) but it is illegal expression - it should be fx.As(new(io.Writer)) (as in unit tests).
fx.As(io.Writer)
fx.As(new(io.Writer))
hey @apawelec , thanks for reporting this. We've fixed this already in #806 but we haven't done a release since then. I'll close this issue as it's fixed in master; you should be able to see the updated documentation when we release the next version