Trying Another Way… (Dependency Injection)



Trying Another Way… (Dependency Injection)

Trying Another Way... (Dependency Injection)

NOTE: Before or after watching this video I HIGHLY recommend you read over the FX documentation. FX is weird, and while a video will help you get the idea of what it does, nothing can replace actually doing it. It is a stupidly useful package, but its up to you to learn it!

FX: https://uber-go.github.io/fx/get-started/
Source Code for Example: https://github.com/bmdavis419/svelte-go-testing

This video goes over an example of how one could structure a GoLang backend. This is not the only way to do it, nor is it objectively the best way to do it, but it does solve the problem. This is part of the ongoing SvelteKit + GoLang series.

🚀 DEPLOY YOUR BACKENDS 🚀
[Railway](https://railway.app/?referralCode=HsdtLw)

My Socials
🐦 [twitter](https://twitter.com/benjamin41902)
📷 [insta](https://www.instagram.com/bmdavis419/)
💾 [github](https://github.com/bmdavis419)

My Companies
📈 [insiderviz](https://www.insiderviz.com)
📅 [BLOK](https://www.theblokapp.com/) (coming soon)

#golang #programming #engineering

Comments are closed.