How to use Dependency Injection in Go With Overview of Uber's Dig and Google's Wire

preview_player
Показать описание
Boris Strelnikov shows how and why to use Dependency Injection (DI) in your Golang applications - including some useful tools from Uber and Google that simplify DI-usage.

More about Boris:

Source code from the video:

Mentioned in the video:

#go #golang #microservices #programming #dependencyinjection #di
Рекомендации по теме
Комментарии
Автор

Its exactly what I needed, although, that this video has just 70 likes, if I could a 1000 likes I would have, goes to show how few people use DI. This is most crisp and fast explanation of DI I have ever seen. The code example is excellent, ive used google guice with dropwizard earlier in java, and unless you understand DI, i think this video might not be useful.

maheshsawaiker
Автор

Straight-forward informations, good video mate

DjCtavia
Автор

Hey, the image "go-dev-tools:latest" is not found

ThangTran-hies
Автор

Hi, I have got a question that I couldn’t understand for sure. Can we use Uber dig c.Provide utility with receiver functions of a struct? Thanks in advance.

erkinsagroglu
Автор

Bit difficult 😞 to follow, I am new to golang that also could be a reason. But thanks for the video!!

yugandhar
Автор

Great idea for a video, but poorly executed. It was hard to follow because you jumped around so much. I get why though: you're trying to keep the video short to keep people interested. I did the same but now I create videos any length I want them to be and people skip to what they want to know.

vidyagametourist