News for hackers. Stuff that matters.
Re:Generics can make your Go code slower by shadowgovt on Wednesday March 30, 2022 @03:54PM (#30860028)
I believe Go supports DI via Wire (https://github.com/google/wire).
Re:Generics can make your Go code slower by Groxx on Wednesday March 30, 2022 @07:35PM (#30862145)
Go supports DI by allowing functions with arguments :) Every language with functions supports DI. Wire is just a code-generator version of automatic DI.