Dependency Injection in Go

preview_player
Показать описание
Dependency Injection in Golang

Рекомендации по теме
Комментарии
Автор

thank you very much for a such simple explanation, I couldn't believe I watched too many videos before and they all failed to explain what dependency injection is, coming from another programming language I was really frustrated, you saved my day :) keep the great work, and keep your videos simple 💫❤

michelsmith
Автор

This is the best explanation I've seen so far! I understood DI, thanks!

theedgardev
Автор

In case you wonder if it is worth creating videos regularily, thanks for that a lot, your videos are super helpful and instructive, hope for many more ;)

fixer
Автор

Brilliant Video. Pls share more golang videos and most used patterns in real time production code and also how one can use external packages that contains interfaces and struct types and what and when we can initialise or embed the in our code? U got me subscribed with this one video and hoping to see more...

TheMouseJerry-dumd
Автор

Wow very nice explanation. And great vim skills. I ended up here because of your zed videos. Are you still using zed? I’m working to transition but it’s taking a while. Thanks for the videos +sub . What colorscheme is this ?

joselima
Автор

What if i have multiple dependencies like db, external service, ... other dependencies and they are dependent interdependent as well

Suraj-tzoq
Автор

Great video. Could you explain please why constructor function always returns pointer ?

KuzyoYaroslav
Автор

you show us some codes, but the intuition is start from hello word to wrote all words, without autocompletions lile copilot....
using copilot ia the the teacher that use paper to vopy past in broad.

ayoubelmhamdi
Автор

This video is a nice explanation how to use interfaces instead of concrete instances, but it does not explain dependency injection at all. With dependency injection you build a provider (ioc container) that provides (injects) the concrete instances to methods.

NullMcNull